epinna/weevely3

Backdoor communication failed - weevely 3.7.0

ech0yg opened this issue · 2 comments

Hi, when I am trying the weevely 3.7 to connect backdoor, and I do not get the following:

root@hl-test:/usr/tools/weevely3# ./weevely.py http://183.2.x.x:8080/agent.php mypassword
/usr/tools/weevely3/core/sessions.py:219: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
sessiondb = yaml.load(open(dbpath, 'r').read())

[+] weevely 3.7.0

[+] Target: 183.2.x.x:8080
[+] Session: /root/.weevely/sessions/183.2.x.x/agent_0.session

[+] Browse the filesystem or execute commands starts the connection
[+] to the target. Type :help for more information.

weevely> uname -a
[!][terminal] Backdoor communication failed, check URL availability and password
weevely> :set debug true
debug = true
weevely> uname -a
[D][php] PHP setup failed
[!][terminal] Backdoor communication failed, check URL availability and password
weevely> ls
[D][php] PHP setup failed
[!][terminal] Backdoor communication failed, check URL availability and password

The network is ok

Sorry, the problem is caused by the php environment.

May I ask how this problem was solved?