Pull out payloads from Payloads.py; Add base64 encoded binary payload files; Fix whitespace issues that were triggering.
parent
321469cc40
commit
31bf485ac7
|
@ -84,7 +84,7 @@ class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
|||
s.wfile.write(content)
|
||||
|
||||
elif ("%spotal" % QuickCommandURI) in s.path:
|
||||
filename = "%sSharp-shellcode_x86.bin" % (PayloadsDirectory)
|
||||
filename = "%sSharp_v4_x86_Shellcode.bin" % (PayloadsDirectory)
|
||||
with open(filename, 'rb') as f:
|
||||
content = f.read()
|
||||
content = base64.b64encode(content)
|
||||
|
@ -94,7 +94,7 @@ class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
|||
s.wfile.write(content)
|
||||
|
||||
elif ("%slogin" % QuickCommandURI) in s.path:
|
||||
filename = "%sSharp-shellcode_x64.bin" % (PayloadsDirectory)
|
||||
filename = "%sSharp_v4_x64_Shellcode.bin" % (PayloadsDirectory)
|
||||
with open(filename, 'rb') as f:
|
||||
content = f.read()
|
||||
content = base64.b64encode(content)
|
||||
|
|
3
DB.py
3
DB.py
|
@ -54,8 +54,7 @@ def initializedb():
|
|||
ProxyURL TEXT,
|
||||
ProxyUsername TEXT,
|
||||
ProxyPassword TEXT,
|
||||
CredentialExpiry TEXT
|
||||
);"""
|
||||
CredentialExpiry TEXT);"""
|
||||
|
||||
create_creds = """CREATE TABLE Creds (
|
||||
credsID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE,
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
113
Payloads.py
113
Payloads.py
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue