Refresh patches
Sophie Brun
3 years ago
13 | 13 | 3 files changed, 16 insertions(+), 15 deletions(-) |
14 | 14 | |
15 | 15 | diff --git a/lib/common/agents.py b/lib/common/agents.py |
16 | index f50042d..085ded9 100644 | |
16 | index 8780b07..f1e2052 100644 | |
17 | 17 | --- a/lib/common/agents.py |
18 | 18 | +++ b/lib/common/agents.py |
19 | 19 | @@ -93,6 +93,7 @@ class Agents(object): |
67 | 67 | |
68 | 68 | # make the recursive directory structure if it doesn't already exist |
69 | 69 | if not os.path.exists(save_path): |
70 | @@ -819,8 +820,8 @@ class Agents(object): | |
70 | @@ -818,8 +819,8 @@ class Agents(object): | |
71 | 71 | return False |
72 | 72 | |
73 | 73 | # rename the logging/downloads folder |
78 | 78 | ret_val = True |
79 | 79 | |
80 | 80 | # check if the folder is already used |
81 | @@ -991,7 +992,7 @@ class Agents(object): | |
81 | @@ -990,7 +991,7 @@ class Agents(object): | |
82 | 82 | |
83 | 83 | # write out the last tasked script to "LastTask" if in debug mode |
84 | 84 | if self.args and self.args.debug: |
87 | 87 | f.write(task) |
88 | 88 | f.close() |
89 | 89 | finally: |
90 | @@ -1818,8 +1819,8 @@ class Agents(object): | |
90 | @@ -1817,8 +1818,8 @@ class Agents(object): | |
91 | 91 | elif response_name == "TASK_CMD_JOB": |
92 | 92 | # check if this is the powershell keylogging task, if so, write output to file instead of screen |
93 | 93 | if key_log_task_id and key_log_task_id == task_id: |
99 | 99 | message = "[!] WARNING: agent {} attempted skywalker exploit!".format(self.sessionID) |
100 | 100 | signal = json.dumps({ |
101 | 101 | diff --git a/lib/common/empire.py b/lib/common/empire.py |
102 | index eb33176..0fb6543 100755 | |
102 | index 6a7a809..2cebf4f 100755 | |
103 | 103 | --- a/lib/common/empire.py |
104 | 104 | +++ b/lib/common/empire.py |
105 | 105 | @@ -185,7 +185,7 @@ class MainMenu(cmd.Cmd): |