Closed chr0n1k closed 4 years ago
Thanks for reporting,
Can you please give me the results of the command ls
.
Also, Can you please share with me how you started Octopus and from any directory?
Regards.
I have Octopus installed in /opt/Octopus and started it using python3 /opt/Octopus/octopus.py
ls command is executed but executes on target as expected
Used powershell and hta payloads on the target which both gave the same error.
Ok, I think I got the problem, when you execute python3 /opt/Octopus/octopus.py
from outside /opt/Octopus
, Python will serve modules
directory from the main directory you executed python3 /opt/Octopus/octopus.py
from.
To solve this issue, you need to do the following:
/opt/Octopus
using the following command cd /opt/Octopus
python3 Octopus.py
That should solve the problem.
Please try it and get back to me!
It worked. Thanks for clarifying that out.
I get the error [-] modules directory not Available when interacting with agent and trying to load other PS scripts