Hack Forums
how to self delete c99.php shell - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43)
+---- Thread: how to self delete c99.php shell (/showthread.php?tid=3919311)



how to self delete c99.php shell - FMtheHackerVenkat - Dec 10, 2013

I hacked 🤗 one website and inejected shell c99shell.php but now i want do delete that shell . the Option "self remove" showing can't delete c99.php ... please help me how to delete that . 🤗🎉


* - Pillows - Dec 10, 2013

Do you have shell access as in a login to the terminal? If it's read-only, from my experience then I don't believe you can do anything else.


* - Cecilia - Dec 10, 2013

Create a php file and place unlink('c99shelllocation.php'); then visit the page, that should work should it not?


* - FMtheHackerVenkat - Dec 13, 2013

(Dec 10, 2013 04:35 AM)LaPanthere Wrote:  Create a php file and place unlink('c99shelllocation.php'); then visit the page, that should work should it not?

Thank you ! it worked at the target machine .🤗

But Before testing at the target machine , i have started the apache server and tested in my local host (kali linux) it gave an error "Can't delete /var/www/domain.com/c99.php"
it looks like apache user dont have permission .
😧🤝 got new doubt here: Actually at the target machine i have inserted shell through sql injection as database user . Please suggesst me how to delete the file from the database commands.. will be useful for future

thanks in advance
👍


* - 133720 - Dec 13, 2013

search delete on the shell.
Good Luck.