• 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

威盾PHP解密算法及加密文件

实用代码 开心洋葱 1682次浏览 0个评论

威盾PHP解密算法及加密文件

 

解密代码如下:

 

<?php

/*********************************** *威盾PHP加密专家解密算法 ***********************************/ 

$filename="test.php";

//要解密的文件 

$lines = file($filename);//0,1,2行  

//第一次base64解密 

$content=""; 

if(preg_match("/O0O0000O0\('.*'\)/",$lines[1],$y)) {

 $content=str_replace("O0O0000O0('","",$y[0]);

 $content=str_replace("')","",$content);

 $content=base64_decode($content); 

} 

//第一次base64解密后的内容中查找密钥

$decode_key="";

if(preg_match("/\),'.*',/",$content,$k)) {

 $decode_key=str_replace("),'","",$k[0]);

 $decode_key=str_replace("',","",$decode_key);

} 

//查找要截取字符串长度 

$str_length=""; 

if(preg_match("/,\d*\),/",$content,$k)) {

 $str_length=str_replace("),","",$k[0]);

 $str_length=str_replace(",","",$str_length);

}

//截取文件加密后的密文

$Secret=substr($lines[2],$str_length);

//echo $Secret;

//直接还原密文输出

echo "<?php\n".base64_decode(strtr($Secret,$decode_key,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'))."?>";

?> 

加密后文件如下:

 

<?php // awzsr.com
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64%66%70%6e%72');$OO00O0000=4304;$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$O0O0000O0='OOO0000O0';eval(($$O0O0000O0('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPMDAwTzBPMDA9JE9PME9PMDAwMCgkT09PME8wTzAwLCdyYicpOyRPTzBPTzAwME89JE9PTzAwMDAwMHsxN30uJE9PTzAwMDAwMHsyMH0uJE9PTzAwMDAwMHs1fS4kT09PMDAwMDAwezl9LiRPT08wMDAwMDB7MTZ9OyRPTzBPTzAwTzA9JE9PTzAwMDAwMHsxNH0uJE9PTzAwMDAwMHswfS4kT09PMDAwMDAwezIwfS4kT09PMDAwMDAwezB9LiRPT08wMDAwMDB7MjB9OyRPTzBPTzAwME8oJE8wMDBPME8wMCwxMTQzKTskT08wME8wME8wPSgkT09PMDAwME8wKCRPTzBPTzAwTzAoJE9PME9PMDAwTygkTzAwME8wTzAwLDQ1NiksJ0dTeGJ3TllNOHRtalFKbmgzbERjVDBxb3AxRmF2aTl5WkFydXpLNVBJZzRlSEU2V1IvT0xVZkNrc1Y3ZEIrWDI9JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
iCAgaYTIiYKE1DZghuwLnbQ/JLvCQbGg1YKKmxyn/jLX6ykYC4nH/XWS4HXfi5KgpCfLjrvgnOlhcLGRcLGRcLG+vklOoktKvY/ApCTItf+ylzKQl0+ytORrtO86tw+hcLShQwBRQxsrtO8HmxlhcUBRQbGRcLGItw+hQw+hQbShQxZzcUBRcUBRQbShmxlh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qVz1oZPmoHza5NE1cUza5NE1cBza5NE1cgJcUl0cw0yczNJlcHJxrlzpufwmxl6pqfKmcHJx5K5mxlzprUX1Y0H1olKmxlg1xzg9OlUFYKLjcVAF5NsT50Uiot6mxy5zskzW1L5rtbKrgBPjNTIcT+w0T/NoUVScTT6tYtApCHgmcHJxPfKaMJK9OlUFYKLjcVAF5NsT50Uiot6mxy5zskzW1LKgjMIEmTPjNTIcT+w0T/NoUVScTT6tYtApCHgmcHJxPf+y3Um

 


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明威盾PHP解密算法及加密文件
喜欢 (0)

您必须 登录 才能发表评论!

加载中……