Refresh patches
Sophie Brun
3 years ago
13 | 13 | 7 files changed, 49 insertions(+), 29 deletions(-) |
14 | 14 | |
15 | 15 | diff --git a/empire b/empire |
16 | index 2ea8525..baa220f 100755 | |
16 | index ea54eaf..a348b7d 100755 | |
17 | 17 | --- a/empire |
18 | 18 | +++ b/empire |
19 | 19 | @@ -21,6 +21,22 @@ from time import sleep |
71 | 71 | conn.isolation_level = None |
72 | 72 | return conn |
73 | 73 | diff --git a/lib/common/agents.py b/lib/common/agents.py |
74 | index 721e7cd..1246e94 100644 | |
74 | index 7f4399c..69bbecd 100644 | |
75 | 75 | --- a/lib/common/agents.py |
76 | 76 | +++ b/lib/common/agents.py |
77 | 77 | @@ -87,6 +87,7 @@ class Agents(object): |
145 | 145 | f.write(task) |
146 | 146 | f.close() |
147 | 147 | return pk |
148 | @@ -2008,8 +2009,8 @@ class Agents(object): | |
148 | @@ -2009,8 +2010,8 @@ class Agents(object): | |
149 | 149 | elif responseName == "TASK_CMD_JOB": |
150 | 150 | #check if this is the powershell keylogging task, if so, write output to file instead of screen |
151 | 151 | if keyLogTaskID and keyLogTaskID == taskID: |
157 | 157 | message = "[!] WARNING: agent {} attempted skywalker exploit!".format(self.sessionID) |
158 | 158 | signal = json.dumps({ |
159 | 159 | diff --git a/lib/common/empire.py b/lib/common/empire.py |
160 | index d873703..1534538 100755 | |
160 | index 029e907..089a6e8 100755 | |
161 | 161 | --- a/lib/common/empire.py |
162 | 162 | +++ b/lib/common/empire.py |
163 | 163 | @@ -185,7 +185,7 @@ class MainMenu(cmd.Cmd): |
515 | 515 | - |
516 | 516 | -exec(agent) |
517 | 517 | diff --git a/lib/listeners/dbx.py b/lib/listeners/dbx.py |
518 | index ffa4804..527bb84 100755 | |
518 | index f57d8de..b06ef23 100755 | |
519 | 519 | --- a/lib/listeners/dbx.py |
520 | 520 | +++ b/lib/listeners/dbx.py |
521 | 521 | @@ -417,7 +417,7 @@ class Listener(object): |
528 | 528 | template_options = { |
529 | 529 | 'staging_folder': stagingFolder, |
530 | 530 | diff --git a/lib/listeners/http.py b/lib/listeners/http.py |
531 | index b52f5bf..cd5a74d 100644 | |
531 | index 40d9e33..94bfe0d 100755 | |
532 | 532 | --- a/lib/listeners/http.py |
533 | 533 | +++ b/lib/listeners/http.py |
534 | @@ -648,8 +648,8 @@ class Listener(object): | |
534 | @@ -688,8 +688,8 @@ class Listener(object): | |
535 | 535 | os.path.join(self.mainMenu.installPath, '/data/agent/stagers'), |
536 | 536 | os.path.join(self.mainMenu.installPath, './data/agent/stagers')] |
537 | 537 | eng = templating.TemplateEngine(template_path) |
543 | 543 | 'working_hours': workingHours, |
544 | 544 | 'kill_date': killDate, |
545 | 545 | diff --git a/lib/listeners/redirector.py b/lib/listeners/redirector.py |
546 | index f5c992b..d59204f 100644 | |
546 | index b2fca5f..5876219 100755 | |
547 | 547 | --- a/lib/listeners/redirector.py |
548 | 548 | +++ b/lib/listeners/redirector.py |
549 | @@ -417,7 +417,7 @@ class Listener(object): | |
549 | @@ -433,7 +433,7 @@ class Listener(object): | |
550 | 550 | |
551 | 551 | elif language.lower() == 'python': |
552 | 552 | # read in the stager base |