Web Shell

References

Bind and Reverse Shell

Tools

Onelin3r

LazyShell

Webroot

Web Server
Default Webroot

Apache

/var/www/html/

Nginx

/usr/local/nginx/html/

IIS

c:\inetpub\wwwroot|

XAMPP

C:\xampp\htdocs|

Custom shells

PHP

Linux

Windows

Reverse shell - Linux

With Base 64 - Decode, change IP PORT, encode, change payload

Ref: https://x.com/bountywriteups/status/1844330355450331235?t=mPxG2Tz49KPkkRSK6fIoXA&s=03

Or upload simple shell and use rs oneliner, for example:

Bind and Reverse Shell
  • with python (Linux)

  • with powershell (Windows)

PHP - Bypass IDS / WAF

Hex decode:

ASP

With msfvenom

Webshells collection

SecLists Webshells

Laudanum repo

  • Modify the shell for use

PHP

?cmd=id

p0wny shell

Works on Linux and Windows

p0wny shell

PHPBash

wwwolf's PHP web shell

C99 Webshell

PentestMonkey - Reverse shell

JSP

ASP

ASPX

Metasploit

Webshell9

Antak WebShell

Modify the shell for use

SharPyShell - Tiny and obfuscated ASP.NET webshell

WAR

msf6 exploit(multi/handler)

Tomcat (8080)

Shell ++

TTY Upgrade

Last updated