You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a http listener active. I create a stager multi/bash. Then I open the stager output on target device (Ubuntu 18.04)
I get this output, the agent is active and then closes with this error.
(Empire: stager/multi/bash) >
[] Sending PYTHON stager (stage 1) to 192.168.178.207
[] Agent R6HNE19A from 192.168.178.207 posted valid Python PUB key
[] New agent R6HNE19A checked in
[+] Initial agent R6HNE19A from 192.168.178.207 now active (Slack)
[] Sending agent (stage 2) to R6HNE19A at 192.168.178.207
[!] strip_python_comments is deprecated and should not be used
ls
*** Unknown syntax: ls
(Empire: stager/multi/bash) >
To Reproduce
Steps to reproduce the behavior:
iusestager /multi/bash
set listener http
set OutFile /var/www/html
execute
4 execute file on Ubuntu 18.04
Expected behavior
agent is active but closes connection after error
[] Sending PYTHON stager (stage 1) to 192.168.178.207
[] Agent R6HNE19A from 192.168.178.207 posted valid Python PUB key
[] New agent R6HNE19A checked in
[+] Initial agent R6HNE19A from 192.168.178.207 now active (Slack)
[] Sending agent (stage 2) to R6HNE19A at 192.168.178.207
[!] strip_python_comments is deprecated and should not be used
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I found a workaround. If I go back and then go to agents , then the agent is active and I can interact with it. So it works but with an error and a workaround. I think this is a bug in Empire.
It looks like you tried to interact with an agent before it was done staging. You will need to first interact with the agent to use those commands.
As for the error, it is intentionally displaying the message and was an artifact from the original project. However, it should not affect functionality. I'll look into replacing the function, however, it appears the original project purposely left it in place. EmpireProject#911
Empire Version
OS Information (Linux flavor, Python version)
Describe the bug
I have a http listener active. I create a stager multi/bash. Then I open the stager output on target device (Ubuntu 18.04)
I get this output, the agent is active and then closes with this error.
(Empire: stager/multi/bash) >
[] Sending PYTHON stager (stage 1) to 192.168.178.207
[] Agent R6HNE19A from 192.168.178.207 posted valid Python PUB key
[] New agent R6HNE19A checked in
[+] Initial agent R6HNE19A from 192.168.178.207 now active (Slack)
[] Sending agent (stage 2) to R6HNE19A at 192.168.178.207
[!] strip_python_comments is deprecated and should not be used
ls
*** Unknown syntax: ls
(Empire: stager/multi/bash) >
To Reproduce
Steps to reproduce the behavior:
4 execute file on Ubuntu 18.04
Expected behavior
[] Sending PYTHON stager (stage 1) to 192.168.178.207
[] Agent R6HNE19A from 192.168.178.207 posted valid Python PUB key
[] New agent R6HNE19A checked in
[+] Initial agent R6HNE19A from 192.168.178.207 now active (Slack)
[] Sending agent (stage 2) to R6HNE19A at 192.168.178.207
[!] strip_python_comments is deprecated and should not be used
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: