-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
982 changed files
with
10,919 additions
and
8,645 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import sys | ||
|
||
|
||
def main(argv): | ||
responses = [ | ||
b'{"status":"PASS"}', | ||
b'{"status":"REQUEST_DENIED","error_message":"The provided API key is invalid."}', | ||
b'{"status":"REQUEST_DENIED","error_message":"This API project is not authorized to use this API."}', | ||
b'{"ok":1}', | ||
b'{"error":1}', | ||
b'{"error":"invalid_auth"}', | ||
b'<body>You are being <a>redirected', | ||
b'Unable to find client by that `client_id`', | ||
b'{"error":{"message":null}}', | ||
b'{"error":{"message":""}}', | ||
b'{"error":{"message":"The provided key \'rk_xxxHaving the \'rak_charge_read\' permission would allow this request to continue."}}', | ||
] | ||
for i in argv[1:]: | ||
with open(i, "rb") as f: | ||
data = f.read() | ||
for n, x in enumerate(responses): | ||
with open(f"{i}.{n}", "wb") as f: | ||
if 0x800 < len(data): | ||
f.write(data[:0x800]) | ||
f.write(x) | ||
else: | ||
f.write(data) | ||
f.write(b'\n' * (0x800 - len(data))) | ||
f.write(x) | ||
|
||
|
||
if __name__ == "__main__": | ||
main(sys.argv) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
"AwsAcceb;LMn0tLS60kYm5trAI: ! | ||
|
||
- | ||
-> | ||
ttps://www.p </tbodyocSetable> | ||
|
||
<table saypalobssKey": "AKIQGIR xA6K | ||
t7KqO47HB3hYgkk6/vHjiOGJ47s33IFRYMy8s/7bnEeEB8pbqorO2zqa0U0gLhp0Xx+n7UBkMo2Z | ||
e3q2qrVYpLDC2nfvOei9P37f | ||
%338CClBzxi#!binaryO | ||
G0sV9uRI15bn9bHIHte77WlLxxDXievxaYD7 | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.