PHP解密 (base64_decode)
作者&投稿:永璐 (若有异议请与网页底部的电邮联系)
1、base64_decode() 函数在PHP中是解码的意思、对使用 MIME base64 编码的数据进行解码。
使用base64_decode()函数对简单字符串进行解码。
此示例将显示:This is an encoded string
2、与之相反,base64_encode(),使用 base64 对 data 进行编码。
使用base64_encode()函数对简单字符串进行编码。
此示例将显示:VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==
将post方式提交的变量$_POST['php']使用base64_decode()进行解码($_POST['php']应该是MIME base64 编码格式),并将解码之后的变量按照PHP语句的方式运行
你自己到这个页面去慢慢查吧,反正后半部我给你弄出来了,你自己看。前半部分的代码,需要加上后半部分的代码才能够解密。是挺烦的。
你到这个网站去解密:http://tool.chinaz.com/Tools/Base64.aspx
$lll=0;eval(base64_decode("JGxsbGxsbGxsbGxsPSdiYXNlNjRfZGVjb2RlJzs="));$ll=0;eval($lllllllllll("JGxsbGxsbGxsbGw9J29yZCc7"));$llll=0;$lllll=3;eval($lllllllllll("JGw9JGxsbGxsbGxsbGxsKCRvKTs="));$lllllll=0;$llllll=($llllllllll($l[1])<<8)+$llllllllll($l[2]);eval($lllllllllll("JGxsbGxsbGxsbGxsbGw9J3N0cmxlbic7"));$lllllllll=16;$llllllll="";for(;$lllll<$lllllllllllll($l);){if($lllllllll==0){$llllll=($llllllllll($l[$lllll++])<<8);$llllll+=$llllllllll($l[$lllll++]);$lllllllll=16;}if($llllll&0x8000){$lll=($llllllllll($l[$lllll++])<<4);$lll+=($llllllllll($l[$lllll])>>4);if($lll){$ll=($llllllllll($l[$lllll++])&0x0f)+3;for($llll=0;$llll<$ll;$llll++)$llllllll[$lllllll+$llll]=$llllllll[$lllllll-$lll+$llll];$lllllll+=$ll;}else{$ll=($llllllllll($l[$lllll++])<<8);$ll+=$llllllllll($l[$lllll++])+16;for($llll=0;$llll<$ll;$llllllll[$lllllll+$llll++]=$llllllllll($l[$lllll]));$lllll++;$lllllll+=$ll;}}else$llllllll[$lllllll++]=$llllllllll($l[$lllll++]);$llllll<<=1;$lllllllll--;}eval($lllllllllll("JGxsbGxsbGxsbGxsbD0nY2hyJzs="));$lllll=0;eval($lllllllllll("JGxsbGxsbGxsbD0iPyIuJGxsbGxsbGxsbGxsbCg2Mik7"));$llllllllll="";for(;$lllll<$lllllll;){$llllllllll.=$llllllllllll($llllllll[$lllll++]^0x07);}eval($lllllllllll("JGxsbGxsbGxsbC49JGxsbGxsbGxsbGwuJGxsbGxsbGxsbGxsbCg2MCkuIj8iOw=="));eval($lllllllll);
没看到着这个吗
/* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
是严格禁止的。 违反copyright的
base64_decode 网上搜一下这个