Skip to content

Commit

Permalink
Implement samloader/samloader#33 from samloader
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfchn committed Dec 11, 2020
1 parent 5037c9f commit 1cffb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def download_binary(filename: str, path: str, decrypt_key: str):
else:
req2 = requests.get(
url = Constants.BINARY_DOWNLOAD_URL,
params = {"file": path + filename},
params = "file=" + path + filename,
headers = Constants.HEADERS(key.encrypted_nonce, key.auth),
cookies = Constants.COOKIES(key.session_id),
stream = True
Expand Down

0 comments on commit 1cffb7c

Please sign in to comment.