Feed on
Posts
Comments

今天写了个批量dezend(或者说叫解密)的脚本
代码如下:


$dir = “in”;
$dezendphp = “app\dezend_by_phpsir”;
$mkdir = “mkdir out” .$dir;
echo $mkdir .”n”;
@exec($mkdir);
$dir = $dir. “\”;
$debug = false;
// Open a known directory, and proceed to read its contents
function rdir($dir){
global $debug ;
global $dezendphp ;
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
$outdir = “out”.$dir;
if ($file != “.” && $file != “..”) {
if (is_dir($dir .”\”. $file))
{

$mkdir = “mkdir “. $outdir . “\” . $file;
echo $mkdir .”n”;
$debug ? ‘’ :exec($mkdir);
rdir($dir .”\”. $file);

}else{

if (substr($file,-4) == “.php” && iszend($dir .”\”. $file)) {
$fp=”$dezendphp “. $dir .”\”. $file . ” /path:$outdir /ext:.php /tab /indent:1″;
echo $fp.”n”;
$debug ? ‘’ : exec($fp);
}else{
$cpcmd = “copy ” . $dir .”\” . $file . ” $outdir”;
echo $cpcmd.”n”;
$debug ? ‘’ : exec($cpcmd);
}
}
}
}
closedir($dh);
}
}
function iszend($f)
{

$file = file_get_contents($f);

if (!strstr($file,”Zendx00″) and !strstr($file,”Zendx3B”))
return false;
else
return true;
}
rdir ($dir);
?>
并且做了一定的封装
bat 如下
C:phpsirappphp5oriphp.exe -c C:phpsirappphp5ori -f phpsirdezend.php
原始的php5文件放在 c:phpsirappphp5ori 目录

整个文件大小 8,000,046 bytes
下载并解压缩到 c:phpsir 目录就可以使用了
将需要解密dezend的文件放到 in 目录,运行start_dezned.bat 就可以到outin 目录里面捡解密后的结果了
由于没有足够带宽支撑,所以不放出链接地址,需要的联系QQ 733905

我的书店

婴儿画报
聪明宝宝
it经理世界
生活周刊
都市主妇
中华遗产
天下美食
时尚旅游
华夏地理
完美孕妇
世界家苑
瑞丽家居
私家地理
时尚旅游
儿童画报
小熊维尼
家装家居
精品家居
婴儿画报
贝太厨房




















  1. 如果您使用php开发网站,并且对php感兴趣,请联系我QQ 733905
  2. 如果您在徐州 并且想在php网站开发方面反正,请联系我QQ 733905
  3. 如果您是徐州人身在外地,希望回徐州创业,请联系我QQ 733905
  4. 如果您现在徐州某个小公司研究php很苦闷,请联系我QQ 733905
  5. 如果您也希望学习linux方面的东西,请联系我QQ 733905
  6. 如果您是学生,并且对php程序设计感兴趣,请联系我QQ 733905
  7. 如果您想在徐州找一份php方面的工作,请联系我QQ 733905

我真心的等您的电话
请拨打 13151238031

python 书列

  1. Dive Into Python 搜索http://www.douban.com/subject_search?search_text=Dive+Into+Python

  2. learning pythonhttp://www.douban.com/subject_search?search_text=learning+python

  3. beginning pythonhttp://www.douban.com/subject_search?search_text=beginning+python

  4. programming pythonhttp://www.douban.com/subject_search?search_text=programming+python


  5. python cookbookhttp://www.douban.com/subject_search?search_text=python+cookbook
  6. core python programminghttp://www.douban.com/subject_search?search_text=core+python+programming
  7. python in a nutshellhttp://www.douban.com/subject_search?search_text=python+in+a+nutshell

python 书列

  1. Dive Into Python
  2. learning python
  3. beginning python
  4. python cookbook
  5. core python programming
  6. python in a nutshell

- Older Posts »