Solve the secret set of PHP version of the Thief program, want to learn to study

Source: Internet
Author: User
Solve the secret set of PHP version of the Thief program, want to learn to study
Solve the secret set of PHP version of the Thief program, want to study, this set of Thieves program is authorized by the authorization code ... Do not know how to crack, seek master, the great God, the ox people, pointing maze .... Thank you first.
Source code Download Address: http://pan.baidu.com/s/1kTiRoZ9
------to solve the idea----------------------
function.php
function Run_time ($IIIIIIIIIIII =false) {
static $IIIIIIIIIIIl = 0;
if ($IIIIIIIIIIII) {
$IIIIIIIIIIIl =microtime (TRUE);
}else{
return sprintf ('%.5f ', Microtime (True)-$IIIIIIIIIIIl);
}
}
function Arr2file ($IIIIIIIIIIll, $IIIIIIIIIIl 1) {
if (Is_array ($IIIIIIIIIIl 1)) {
$IIIIIIIIII 1l=var_export ($IIIIIIIIIIl 1,true);
}else{
$IIIIIIIIII 1l= $IIIIIIIIIIl 1;
}
Write ($IIIIIIIIIIll, " ");
}
function Banip () {
$IIIIIIIIIIll =vv_data. " /banip.php ";
[Email protected]_get_contents ($IIIIIIIIIILL);
if ($IIIIIIIIIlIl) {
$IIIIIIIIIlI 1=str_replace (Array ("\ r \ n", "\ r", "\ n"), '
------to solve the idea----------------------
', $IIIIIIIIIlIl);
$IIIIIIIIIllI =$_server[' remote_addr '];
foreach ($IIIIIIIIIlI 1 as $IIIIIIIIIlll) {
$IIIIIIIIIll 1=str_replace (Array (' * ', '. '), Array (' \\d+ ', ' \ '), $IIIIIIIIIll 1);
if (Preg_match ('/^ '. $IIIIIIIIIlll. ' $/', $IIIIIIIIIllI)) {
Die (' Your IP banned access! ');
}
}
}
}
function RemoveDir ($IIIIIIIIIl 11) {
if (!is_dir ($IIIIIIIIIl 11)) {
return false;
}
[Email protected] ($IIIIIIIIIl 11);
while (([email protected] ($IIIIIIIII 1Il)) {!==false) {
if ($IIIIIIIIIIll! = '. ') && $IIIIIIIIIIll! = ' ... ') {
$IIIIIIIII 1ll= $IIIIIIIIIl 11. ' /'. $IIIIIIIIIIll;
Is_dir ($IIIIIIIII 1ll)? RemoveDir ($IIIIIIIII 1ll): @unlink ($IIIIIIIII 1ll);
}
}
Closedir ($IIIIIIIII 1Il);
return RmDir ($IIIIIIIIIl 11);
}
function Getcachefile ($IIIIIIIIlIII) {
return Vv_cache. " /html/". Gethashdir ($IIIIIIIIlIII, 2). ' /'. SUBSTR (MD5 ($IIIIIIIIlIII), 0,16). HTML ';
}function Getcsscachefile ($IIIIIIIIlIII) {
return Vv_cache. " /css/". substr (MD5 ($IIIIIIIIlIII), 0,16). CSS ';
}
function Getjscachefile ($IIIIIIIIlIII) {
return Vv_cache. " /js/". substr (MD5 ($IIIIIIIIlIII), 0,16). JS ';
}
function Gethashdir ($IIIIIIIIlIl 1, $IIIIIIIIlI 1i=2) {
$IIIIIIIIlI 1l=array ();
$IIIIIIIIlI 11=str_split (MD5 ($IIIIIIIIlIl 1), 2);
for ($IIIIIIIIllII =0; $IIIIIIIIllII < $IIIIIIIIlI 1I; $IIIIIIIIllII + +) {
$IIIIIIIIlI 1l[]= $IIIIIIIIlI 11[$IIIIIIIIllII];
}
$IIIIIIIII 1ll=str_replace (' \ \ ', '/', implode (Directory_separator, $IIIIIIIIlI 1l));
return $IIIIIIIII 1ll;
}
if (Isset ($_server[' Http_x_original_url ')) {
$_server[' Request_uri ']=$_server[' Http_x_original_url '];
}
if (Isset ($_server[' Http_x_rewrite_url ')) {
$_server[' Request_uri ']=$_server[' Http_x_rewrite_url '];
}
function ShowMsg ($IIIIIIIIlllI, $IIIIIIIIllll, $IIIIIIIIlll 1=0) {
$IIIIIIIIll 1i= "\ r \ n\ r \ n<title>Prompt information</title>\ r \ n \ r \ n ";
$IIIIIIIIll 1i.= "\ r \ n\ r \ n\ r \ n \r\n\r\n \ r \ n\ r \ n\ r \ n ";
$IIIIIIIIll 11= ($IIIIIIIIlll 1==0?1000: $IIIIIIIIlll 1);
$IIIIIIIIl 1ii= ';
if ($IIIIIIIIllll = = '-1 ') {
if ($IIIIIIIIlll 1==0) $IIIIIIIIll 11=5000;
$IIIIIIIIllll = "Javascript:history.go (-1);";
}
$IIIIIIIIl 1ii.= "var pgo=0;function jumpurl () {if (pgo==0) {location= ' $IIIIIIIIllll ';p go=1;}} \ r \ n ";
$IIIIIIIIl 1il= $IIIIIIIIl 1II;
$IIIIIIIIl 1il.= "document.write (\"
";
$IIIIIIIIl 1il.= "Vivi Tip information! \ "); \ r \ n";
$IIIIIIIIl 1il.= "document.write (\"
\ "); \ r \ n";
$IIIIIIIIl 1il.= "document.write (\" ". Str_replace (" \ "", "" ", $IIIIIIIIlllI)." \ "); \ r \ n";
$IIIIIIIIl 1il.= "document.write (\" "; $IIIIIIIIl 1il.="
If your browser does not respond, please click here ... ";
$IIIIIIIIl 1il.= "
\ "); \ r \ n";
$IIIIIIIIl 1il.= "SetTimeout (' Jumpurl () ', $IIIIIIIIll 11);";
$IIIIIIIIlllI = $IIIIIIIIll 1I. $IIIIIIIIl 1Il. $IIIIIIIIll 1l;
Echo $IIIIIIIIlllI;
Exit
}
function dom () {
$IIIIIIIIl 1li=$_server[' Http_host '];
$IIIIIIIIl 1ll=parse_url ($IIIIIIIIl 1lI);
$IIIIIIIIl 1li=isset ($IIIIIIIIl 1ll[' host ')? $IIIIIIIIl 1ll[' Host ']: $IIIIIIIIl 1ll[' path ';
$IIIIIIIIl 1li=strtolower ($IIIIIIIIl 1lI);
if (Strpos ($IIIIIIIIl 1lI, '/')!==false) {
[Email Protected]_url ($IIIIIIIIl 1lI);
$IIIIIIIIl 1li= $IIIIIIIIl 1ll[' host ';
}
$IIIIIIIIl 111=array (' com ', ' edu ', ' gov ', ' int ', ' mil ', ' net ', ' org ', ' biz ', ' info ', ' pro ', ' in ', ' pw ', ' im ', ' name ', ' Museum ', ' Coop ', ' aero ', ' xxx ', ' idv ', ' mobi ', ' cc ', ' Me ', ' Wang ';
$IIIIIIII 1iii= ';
foreach ($IIIIIIIIl 111 as $IIIIIIIIIll 1) {
$IIIIIIII 1iii.= ($IIIIIIII 1III? '
------to solve the idea----------------------
': '). $IIIIIIIIILL 1;
}
$IIIIIIII 1iil= "[^\.] +\. (?:(". $IIIIIIII 1III. ")
------to solve the idea----------------------
\W{2}
------to solve the idea----------------------
((". $IIIIIIII 1III.") \.\W{2})) $ ";
if (Preg_match ("/". $IIIIIIII 1IIl. " /ies ", $IIIIIIIIl 1lI, $IIIIIIII 1ii1)) {
$IIIIIIII 1ili= $IIIIIIII 1ii1[' 0 '];
}else{
$IIIIIIII 1ili= $IIIIIIIIl 1lI;
}
return $IIIIIIII 1IlI;
}
function ooo0ooo0o () {
Return substr (SHA1 (DOM (). Vxiaotou.com '), 10,16). PHP ';
}
function Update ($IIIIIIII 1i1l) {
$IIIIIIII 1i11=ooo0o0o0o (0,1)? ' &qq= '. ooo0o0o0o (0,1): ";
$IIIIIIII 1lii=downfile (' Http://www.vxiaotou.com/Update/?ver=wanneng '). Vv_version. ' &u= '. Dom (). $IIIIIIII 1i11. ' &_t= '. Time ());
if ($IIIIIIII 1lii== ") showmsg (" Unable to connect to server ","-1 ", 3000);
List ($IIIIIIII 1li1, $IIIIIIII 1llI) =explode ('
------to solve the idea----------------------
', $IIIIIIII 1lII);
if ($IIIIIIII 1lli== ") showmsg (" Connection Server Error "," 1 ", 3000);
if ($IIIIIIII 1li1==vv_version
------to solve the idea----------------------
$IIIIIIII 1li1== "Erorr") {
ShowMsg ($IIIIIIII 1llI, "admin_index.php", 3000);
Exit
}else{
ShowMsg ($IIIIIIII 1llI. "
Click here to upgrade Online "," admin_index.php ", 1200000);
}
}
function mkdirs ($IIIIIIII 1l1i, $IIIIIIII 1l1l=0777) {
if (Is_dir ($IIIIIIII 1l1i)) return true;
mkdir ($IIIIIIII 1l1i, $IIIIIIII 1l1l,true);
}
function Write ($IIIIIIII 1l1i, $IIIIIIII 11II, $IIIIIIII 11il= "W") {
Mkdirs (dirname ($IIIIIIII 1l1i));
if (Is_file ($IIIIIIII 1l1i) &&!is_writable ($IIIIIIII 1l1i)) {
return false;
......
I put it in here, Http://pan.baidu.com/s/1sjMABzZ.
The readability is very poor, it depends on your understanding
  • 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.