Shall never surrender Wiki-shan write PHP online encryption decryption Program

Source: Internet
Author: User
Tags php online
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.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.