Maison > développement back-end > tutoriel php > 求解密一套php版本的窃贼程序,想学习研究一下

求解密一套php版本的窃贼程序,想学习研究一下

WBOY
Libérer: 2016-06-13 12:18:59
original
1542 Les gens l'ont consulté

求解密一套php版本的小偷程序,想学习研究一下
求解密一套php版本的小偷程序,想学习研究一下,这套小偷程序是通过授权码授权。。。不知道怎么破解,求高手,大神,牛人,指点迷津。。。。先谢谢了
源码下载地址:http://pan.baidu.com/s/1kTiRoZ9
------解决思路----------------------
function.php

function run_time($IIIIIIIIIIII=false){<br />  static $IIIIIIIIIIIl=0;<br />  if($IIIIIIIIIIII){<br />    $IIIIIIIIIIIl=microtime(true);<br />  }else{<br />    return sprintf('%.5f',microtime(true)-$IIIIIIIIIIIl);<br />  }<br />}<br />function arr2file($IIIIIIIIIIll,$IIIIIIIIIIl1){<br />  if(is_array($IIIIIIIIIIl1)){<br />    $IIIIIIIIII1l=var_export($IIIIIIIIIIl1,true);<br />  }else{<br />    $IIIIIIIIII1l=$IIIIIIIIIIl1;<br />  }<br />  write($IIIIIIIIIIll,"<?php\r\n".'return '.$IIIIIIIIII1l.';'."\r\n?>");<br />}<br />function banip(){<br />  $IIIIIIIIIIll=VV_DATA."/banip.php";<br />  [email&#160;protected]_get_contents($IIIIIIIIIIll);<br />  if($IIIIIIIIIlIl){<br />    $IIIIIIIIIlI1=str_replace(array("\r\n","\r","\n"),'<br><font color='#FF8000'>------解决思路----------------------</font><br>',$IIIIIIIIIlIl);<br />    $IIIIIIIIIllI=$_SERVER['REMOTE_ADDR'];<br />    foreach($IIIIIIIIIlI1 as $IIIIIIIIIlll){<br />      $IIIIIIIIIll1=str_replace(array('*','.'),array('\\d+','\.'),$IIIIIIIIIll1);<br />      if(preg_match('/^'.$IIIIIIIIIlll.'$/',$IIIIIIIIIllI)){<br />        die('Your IP banned access!');<br />      }<br />    }<br />  }<br />}<br />function removedir($IIIIIIIIIl11){<br />  if(!is_dir($IIIIIIIIIl11)){<br />    return false;<br />  }<br />  [email&#160;protected]($IIIIIIIIIl11);<br />  while(([email&#160;protected]($IIIIIIIII1Il))!==false){<br />    if($IIIIIIIIIIll!='.'&&$IIIIIIIIIIll!='..'){<br />      $IIIIIIIII1ll=$IIIIIIIIIl11.'/'.$IIIIIIIIIIll;<br />      is_dir($IIIIIIIII1ll)?removeDir($IIIIIIIII1ll):@unlink($IIIIIIIII1ll);<br />    }<br />  }<br />  closedir($IIIIIIIII1Il);<br />  return rmdir($IIIIIIIIIl11);<br />}<br />function getcachefile($IIIIIIIIlIII){<br />  return VV_CACHE."/html/".getHashDir($IIIIIIIIlIII,2).'/'.substr(md5($IIIIIIIIlIII),0,16).'.html';<br />}function getcsscachefile($IIIIIIIIlIII){<br />  return VV_CACHE."/css/".substr(md5($IIIIIIIIlIII),0,16).'.css';<br />}<br />function getjscachefile($IIIIIIIIlIII){<br />  return VV_CACHE."/js/".substr(md5($IIIIIIIIlIII),0,16).'.js';<br />}<br />function getHashDir($IIIIIIIIlIl1,$IIIIIIIIlI1I=2){<br />  $IIIIIIIIlI1l=array();<br />  $IIIIIIIIlI11=str_split(md5($IIIIIIIIlIl1),2);<br />  for($IIIIIIIIllII=0;$IIIIIIIIllII<$IIIIIIIIlI1I;$IIIIIIIIllII++){<br />    $IIIIIIIIlI1l[]=$IIIIIIIIlI11[$IIIIIIIIllII];<br />  }<br />  $IIIIIIIII1ll=str_replace('\\','/',implode(DIRECTORY_SEPARATOR,$IIIIIIIIlI1l));<br />  return $IIIIIIIII1ll;<br />}<br />if(isset($_SERVER['HTTP_X_ORIGINAL_URL'])){<br />  $_SERVER['REQUEST_URI']=$_SERVER['HTTP_X_ORIGINAL_URL'];<br />}<br />if(isset($_SERVER['HTTP_X_REWRITE_URL'])){<br />  $_SERVER['REQUEST_URI']=$_SERVER['HTTP_X_REWRITE_URL'];<br />}<br />function ShowMsg($IIIIIIIIlllI,$IIIIIIIIllll,$IIIIIIIIlll1=0){<br />  $IIIIIIIIll1I="<html>\r\n<head>\r\n<title>提示信息</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n";<br />  $IIIIIIIIll1I.="<base target='_self'/>\r\n<style>div{line-height:160%;}</style></head>\r\n<body leftmargin='0' topmargin='0' bgcolor='#FFFFFF'>\r\n<center>\r\n<script>\r\n";<br />  $IIIIIIIIll1l="</script>\r\n</center>\r\n</body>\r\n</html>\r\n";<br />  $IIIIIIIIll11=($IIIIIIIIlll1==0?1000:$IIIIIIIIlll1);<br />  $IIIIIIIIl1II='';<br />  if($IIIIIIIIllll=='-1'){<br />    if($IIIIIIIIlll1==0)$IIIIIIIIll11=5000;<br />    $IIIIIIIIllll="javascript:history.go(-1);";<br />  }<br />  $IIIIIIIIl1II.="var pgo=0;function JumpUrl(){if(pgo==0){location='$IIIIIIIIllll';pgo=1;}}\r\n";<br />  $IIIIIIIIl1Il=$IIIIIIIIl1II;<br />  $IIIIIIIIl1Il.="document.write(\"<br /><div style='width:450px;padding:0px;border:1px solid #c7ea6a;'>";<br />  $IIIIIIIIl1Il.="<div style='padding:6px;font-size:12px;border-bottom:1px solid #c7ea6a;background:#f5fde6 ';'><b>vivi提示信息!</b></div>\");\r\n";<br />  $IIIIIIIIl1Il.="document.write(\"<div style='height:130px;font-size:10pt;background:#ffffff'><br />\");\r\n";<br />  $IIIIIIIIl1Il.="document.write(\"".str_replace("\"","“",$IIIIIIIIlllI)."\");\r\n";<br />  $IIIIIIIIl1Il.="document.write(\"";$IIIIIIIIl1Il.="<br /><a href='{$IIIIIIIIllll}'>如果你的浏览器没反应,请点击这里...</a>";<br />  $IIIIIIIIl1Il.="<br/></div>\");\r\n";<br />  $IIIIIIIIl1Il.="setTimeout('JumpUrl()',$IIIIIIIIll11);";<br />  $IIIIIIIIlllI=$IIIIIIIIll1I.$IIIIIIIIl1Il.$IIIIIIIIll1l;<br />  echo $IIIIIIIIlllI;<br />  exit;<br />}<br />function dom(){<br />  $IIIIIIIIl1lI=$_SERVER['HTTP_HOST'];<br />  $IIIIIIIIl1ll=parse_url($IIIIIIIIl1lI);<br />  $IIIIIIIIl1lI=isset($IIIIIIIIl1ll['host'])?$IIIIIIIIl1ll['host']:$IIIIIIIIl1ll['path'];<br />  $IIIIIIIIl1lI=strtolower($IIIIIIIIl1lI);<br />  if(strpos($IIIIIIIIl1lI,'/')!==false){<br />    [email&#160;protected]_url($IIIIIIIIl1lI);<br />    $IIIIIIIIl1lI=$IIIIIIIIl1ll['host'];<br />  }<br />  $IIIIIIIIl111=array('com','edu','gov','int','mil','net','org','biz','info','pro','in','pw','im','name','museum','coop','aero','xxx','idv','mobi','cc','me','wang');<br />  $IIIIIIII1III='';<br />  foreach($IIIIIIIIl111 as $IIIIIIIIIll1){<br />    $IIIIIIII1III.=($IIIIIIII1III?'<br><font color='#FF8000'>------解决思路----------------------</font><br>':'').$IIIIIIIIIll1;<br />  }<br />  $IIIIIIII1IIl="[^\.]+\.(?:(".$IIIIIIII1III.")<br><font color='#FF8000'>------解决思路----------------------</font><br>\w{2}<br><font color='#FF8000'>------解决思路----------------------</font><br>((".$IIIIIIII1III.")\.\w{2}))$";<br />  if(preg_match("/".$IIIIIIII1IIl."/ies",$IIIIIIIIl1lI,$IIIIIIII1II1)){<br />    $IIIIIIII1IlI=$IIIIIIII1II1['0'];<br />  }else{<br />    $IIIIIIII1IlI=$IIIIIIIIl1lI;<br />  }<br />  return $IIIIIIII1IlI;<br />}<br />function OoO0oOo0o(){<br />  return substr(sha1(dom().'vxiaotou.com'),10,16).'.php';<br />}<br />function update($IIIIIIII1I1l){<br />  $IIIIIIII1I11=OoO0o0O0o(0,1)?'&qq='.OoO0o0O0o(0,1):'';<br />  $IIIIIIII1lII=downfile('http://www.vxiaotou.com/Update/?ver=wanneng'.VV_VERSION.'&u='.dom().$IIIIIIII1I11.'&_t='.time());<br />  if($IIIIIIII1lII=='')ShowMsg("无法连接服务器","-1",3000);<br />  list($IIIIIIII1lI1,$IIIIIIII1llI)=explode('<br><font color='#FF8000'>------解决思路----------------------</font><br>',$IIIIIIII1lII);<br />  if($IIIIIIII1llI=='')ShowMsg("连接服务器错误","-1",3000);<br />  if($IIIIIIII1lI1==VV_VERSION<br><font color='#FF8000'>------解决思路----------------------</font><br>$IIIIIIII1lI1=="erorr"){<br />    ShowMsg($IIIIIIII1llI,"admin_index.php",3000);<br />    exit;<br />  }else{<br />    ShowMsg($IIIIIIII1llI."<br><a href='?t=updatenow&ver={$IIIIIIII1lI1}'>点击这里在线升级</a>","admin_index.php",1200000);<br />  }<br />}<br />function mkdirs($IIIIIIII1l1I,$IIIIIIII1l1l=0777){<br />  if(is_dir($IIIIIIII1l1I))return true;<br />  mkdir($IIIIIIII1l1I,$IIIIIIII1l1l,true);<br />}<br />function write($IIIIIIII1l1I,$IIIIIIII11II,$IIIIIIII11Il="w"){<br />  mkdirs(dirname($IIIIIIII1l1I));<br />  if(is_file($IIIIIIII1l1I)&&!is_writable($IIIIIIII1l1I)){<br />    return false;<br /> ......
Copier après la connexion
放不下,我放在这里了 http://pan.baidu.com/s/1sjMABzZ
可读性很差,就看你的悟性了

Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal