Codebase list powershell-empire / 02f7621
Refresh patches Sophie Brun 3 years ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
1313 3 files changed, 16 insertions(+), 15 deletions(-)
1414
1515 diff --git a/lib/common/agents.py b/lib/common/agents.py
16 index f50042d..085ded9 100644
16 index 8780b07..f1e2052 100644
1717 --- a/lib/common/agents.py
1818 +++ b/lib/common/agents.py
1919 @@ -93,6 +93,7 @@ class Agents(object):
6767
6868 # make the recursive directory structure if it doesn't already exist
6969 if not os.path.exists(save_path):
70 @@ -819,8 +820,8 @@ class Agents(object):
70 @@ -818,8 +819,8 @@ class Agents(object):
7171 return False
7272
7373 # rename the logging/downloads folder
7878 ret_val = True
7979
8080 # check if the folder is already used
81 @@ -991,7 +992,7 @@ class Agents(object):
81 @@ -990,7 +991,7 @@ class Agents(object):
8282
8383 # write out the last tasked script to "LastTask" if in debug mode
8484 if self.args and self.args.debug:
8787 f.write(task)
8888 f.close()
8989 finally:
90 @@ -1818,8 +1819,8 @@ class Agents(object):
90 @@ -1817,8 +1818,8 @@ class Agents(object):
9191 elif response_name == "TASK_CMD_JOB":
9292 # check if this is the powershell keylogging task, if so, write output to file instead of screen
9393 if key_log_task_id and key_log_task_id == task_id:
9999 message = "[!] WARNING: agent {} attempted skywalker exploit!".format(self.sessionID)
100100 signal = json.dumps({
101101 diff --git a/lib/common/empire.py b/lib/common/empire.py
102 index eb33176..0fb6543 100755
102 index 6a7a809..2cebf4f 100755
103103 --- a/lib/common/empire.py
104104 +++ b/lib/common/empire.py
105105 @@ -185,7 +185,7 @@ class MainMenu(cmd.Cmd):