这代码你能解密吗?100个高手都无法解密的代码
标题有点夸张,呵呵!
请问这段代码是用什么加密的,怎么解密呢?能告诉详细的方法吗?
<?php /* This encoding is for evaluation purpose only. It will expire in 7 days and could manifest random failures after 7 days*/ if(!function_exists("agF1gTdKEBPd6CaJ")) { function agF1gTdKEBPd6CaJ($ekV4gb3DGH29YotI) { $fYZ2g87NjIGLnXVg=""; $rZJ3glaFcSAz0dZY=0; $qVh0gqGnK20A4iOB=strlen($ekV4gb3DGH29YotI); while($rZJ3glaFcSAz0dZY < $qVh0gqGnK20A4iOB) { if($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY] == ' ') { $fYZ2g87NjIGLnXVg.=" "; } else if($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY] == '!') { $fYZ2g87NjIGLnXVg.=chr((ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY+1])-ord('A'))*16+(ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY+2])-ord('a'))); $rZJ3glaFcSAz0dZY+=2; } else { $fYZ2g87NjIGLnXVg.=chr(ord($ekV4gb3DGH29YotI[$rZJ3glaFcSAz0dZY])+1); } $rZJ3glaFcSAz0dZY++; } return $fYZ2g87NjIGLnXVg; } }eval(agF1gTdKEBPd6CaJ('du`k!Ci`fE0fScJDAOc5B`I!Ci&!CbBdqrwjc ; %ngli%9 !Cb@j!CbBdglbcvqcm ; %!Cb=!Fn!Cb>T!Cb<_!Cb=]!Cb<U!Cb>[!Cb<Y!Cb@Z]!Cb=U!Cb;^!Cb>W!Cb;`z!Cb=U!Cb;^!Cb=`!Cb;!Fnz!Cb=U!Cb;^!Cb;`!Cb@!Fnz!Cb=S!Cb<`!Cb=X!Cb>]!Cb<[!Cb;T!Cb<W!Cb@Tz!Cb<R!Cb=Z!Cb>W!Cb<Q!Cb=_!Cb?S!Cb=[!Cb;^%9 &((:')); ?>
------解决方案--------------------$style = 'pink'; $indexseo = '淘客帝国_女装|女鞋|女包|美容护肤|彩妆香水';
------解决方案--------------------你是问怎么加密吧:
给个例子:
原code:
$i=$i++;
==>
eval(x('###$##i##=$##i##+##+##;'));
function x($s){
return str_replace('#','',$s);
}
这就算个加密了....x你可以用任何其它可以相互转换的字符加工方式
------解决方案--------------------
PHP code
<?php
if(!function_exists("agF1gTdKEBPd6CaJ"))
{
function agF1gTdKEBPd6CaJ($_str)
{
$_result="";
$_idx=0;
$_str_length=strlen($_str);
while($_idx < $_str_length)
{
if($_str[$_idx] == ' ')
{
$_result.=" ";
}
elseif($_str[$_idx] == '!')
{
$_result.=chr((ord($_str[$_idx+1])-ord('A'))*16+(ord($_str[$_idx+2])-ord('a'))); $_idx+=2;
}
else
{
$_result.=chr(ord($_str[$_idx])+1);
}
$_idx++;
}
return $_result;
}
}
$str = agF1gTdKEBPd6CaJ('du`k!Ci`fE0fScJDAOc5B`I!Ci&!CbBdqrwjc ; %ngli%9 !Cb@j!CbBdglbcvqcm ; %!Cb=!Fn!Cb>T!Cb<_!Cb=]!Cb<U!Cb>[!Cb<Y!Cb@Z]!Cb=U!Cb;^!Cb>W!Cb;`z!Cb=U!Cb;^!Cb=`!Cb;!Fnz!Cb=U!Cb;^!Cb;`!Cb@!Fnz!Cb=S!Cb<`!Cb=X!Cb>]!Cb<[!Cb;T!Cb<W!Cb@Tz!Cb<R!Cb=Z!Cb>W!Cb<Q!Cb=_!Cb?S!Cb=[!Cb;^%9 &((:');
eval(preg_replace("/^eval/",'print',$str));
?>