Обновить execute.py
This commit is contained in:
@@ -17,5 +17,8 @@ sample_string_bytes = sample_string.encode("utf-8")
|
||||
base64_bytes = base64.b64encode(sample_string_bytes)
|
||||
base64_string = 'AUTHORIZATION: basic ' + base64_bytes.decode("utf-8")
|
||||
|
||||
cmd = 'git -c http.extraheader="'+base64_string+'" fetch origin'
|
||||
os.system(cmd)
|
||||
|
||||
print(f"Encoded string: {base64_string}")
|
||||
print('#'*80)
|
||||
|
||||
Reference in New Issue
Block a user