The corresponding write a simple decryption, specifically for Eval. This principle is very useful, write it down here.
Copy the Code code as follows:
/*
Author:zhiwushan
date:20080411
*/
File contents that have been encrypted
$a = "
Eval (gzinflate (str_rot13 (Base64_decode (' ddnusptvaadqq2vn7+ofgu6vpb+eye4eisa2lhazuzn2op343ef9//f7+1s+ jd1kbnz90svy/juv098jlgt1lszmztj/s/wns/zrp5jd/ xzlrter6i6ueqkkshuxmfwmeqnnhjfcdh7qcvlmy60ku0qvlfmmsumnmo5eao7rtf3gkem+rgmedag96ycxmzf+ wuvdjuvujtyid9bivvzltpv64zyb80bde2znhta/cfbbxgma66vw9uczl6utunr8bxprsb+ziagcm+pjxothpbpojarmvxb8xjd1b7rmgc/ g0vsfnelcvw7kud1olrpt7mpjpvjpww/vns0l1tnalytgp5gmzt1idewat3xonvendowf5zbujcdyiienfxensx74gmnptzgobbyrzo/ 1zz9cmjiktxdbdoe4x+jigbtdgnlxwxjda6i/hh7mtribapdhfxwldbpeonbzdfsek8xnzftb501flicfb8oo+ W8doymqesf3p6q6sqx4keeaz2y6cnm6oehmeoqbkkvizxj08jh5hmrxxmshtz4pk1wvv2ktdldzoxjktzdb7xpcmzpxdviw6gfysdcjz93w2hfqsqrqlifwk8 2cblufv+cqhu+73at7pl3fkmhxa0zjtplvz7bepge/yio1wmelx/liuxu+ikv9zwlyrwryz32ellzcdmbicuafflal+ pwdrpiucej6aa68jfqjfjuihmqoqk9uhljl2ufp5tkbm+ pybu504baq0nurfej1cxyaptgokimjkzioj4rhwxcvp2sz04msa4qbnkywm3xqik6vwkllc659hwxc+dqn75diofd9k/asb3ldwzcz/ 0dwzuqgbnfs9utnd+xrqrp1g5dk9loqmqk3amvcjyrdczuyvhqsvtayhr58emmm+807duki4btemgrtxk+ yidqa0bfjrtaqlubvzthhsrpzvn2q02hcn121z2etwe0ndacmxhhu//pn569/vv8t/r8= ')));
";
echo decodephp ($a);
function decodephp ($a) {
$max _level=300; Maximum number of layers
for ($i =0; $i < $max _level; $i + +) {
Ob_start ();
Eval (str_replace (' eval ', ' echo ', $a));
$a = Ob_get_clean ();
if (Strpos ($a, ' eval (gzinflate (str_rot13 (Base64_decode ') ===false) {
return $a;
}
}
}
?>
The above describes the shall never surrender Wiki-shan write the PHP online encryption decryption program, including shall never surrender content, I hope that the PHP tutorial interested in a friend helpful.