Copy Code code as follows:
function T_rndstr ($length = "") {//return random string
$str = "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ";
if ($length = = "") {
Return Str_shuffle ($STR);
}else{
Return substr (Str_shuffle ($STR),-$length);
}
}
$T _k1=t_rndstr ()/With secret key 1
$T _k2=t_rndstr ()/With secret key 2
$vstr =file_get_contents ("xk/xk/index.php");//files to be encrypted
$v 1=base64_encode ($VSTR);
$c =strtr ($v 1, $T _k1, $T _k2);//replace the corresponding character according to the key.
$c = $T _k1. $T _k2. $c;
$q =t_rndstr ();
$isqs =1;//1 takes a random string as the variable name 2 Capital O and the number 0 constitute the basic variable
if ($isqs = = "1") {
$q 1=substr ($q, 2, 3);
$q 2=substr ($q, 10,10);
$q 3=substr ($q, 20,12);
$q 4=substr ($q, 30,10);
$q 5=substr ($q, 40,8);
$q 6=substr ($q, 5,5);
}else{
$q 1= "o00o0o";
$q 2= "o0o000";
$q 3= "o0oo00";
$q 4= "oo0o00";
$q 5= "OO0000";
$q 6= "O00oo0";
}
$keystr =urldecode ("%6e1%7a%62%2f%6d%615%5c%76%740%6928%2d%70%78%75%71%79%2a6%6c%72%6b%64%679%5f%65%68%63%73%77 %6f4%2b%6637%6a ");
/* Full string
n1zb/ma5\vt0i28-pxuqy*6lrkdg9_ehcswo4+f37j
Base64_decode//$q 1
STRTR//$q 2
Substr
*/
$s = ' $ '. $q 6. ' =urldecode ("%6e1%7a%62%2f%6d%615%5c%76%740%6928%2d%70%78%75%71%79%2a6%6c%72%6b%64%679%5f%65%68%63%73%77%6f4%2b %6637%6A "); $ '. $q 1. ' =$ '. $q 6. ' {3}.$ '. $q 6. ' {6}.$ '. $q 6. ' {33}.$ '. $q 6. ' {30};$ '. $q 3. ' =$ '. $q 6. ' {33}.$ '. $q 6. ' {10}.$ '. $q 6. ' {24}.$ '. $q 6. ' {10}.$ '. $q 6. ' {24};$ '. $q 4. ' =$ '. $q 3. ' {0}.$ '. $q 6. ' {18}.$ '. $q 6. ' {3}.$ '. $q 3. ' {0}.$ '. $q 3. ' {1}.$ '. $q 6. ' {24};$ '. $q 5. ' =$ '. $q 6. ' {7}.$ '. $q 6. ' {13};$ '. $q 1. " =$ '. $q 6. ' {22}.$ '. $q 6. ' {36}.$ '. $q 6. ' {29}.$ '. $q 6. ' {26}.$ '. $q 6. ' {30}.$ '. $q 6. ' {32}.$ '. $q 6. ' {35}.$ '. $q 6. ' {26}.$ '. $q 6. ' {30};eval ($ '. $q 1. " ("'. Base64_encode (' $ ') $q 2." = "'. $c. '"; eval (\ ' >\ '. $ ') $q 1. ' ($ '. $q 3. " ($ '. $q 4. " ($ '. $q 2. ', $ '. $q 5. ' *2), $ '. $q 4. ' ($ '. $q 2. ', $ '. $q 5. ', $ '. $q 5. '), $ '. $q 4. ' ($ '. $q 2. ', 0,$ '. $q 5 "))); ';
Imitate Micro shield PHP encryption expert (PHPCODELOCK)