2011.3.7 致maccms开发团队的email

尊敬的Maccms开发团队:
    您好,我是个大四学生,想用maccms建站的,发现源码是“加密”过的。
    但是在php这种开源的东西上搞闭源,真不是什么靠谱的事情,我写了一个python的解密程序,基本可以还原出整站源码,见附件maccms_decode.py。该程序会***(此处省略20字),附解密后的/index.php文件。
    maccms非常优秀,如果开源的话势必将声名显赫!如果有其他不可改变的原因只能闭源的话,还请改变加密算法。虽然我这个程序绝对不会对外发布,但是肯定很多人都是能写出来的。
    失礼之处万望包涵,此致
附:
index.php
<?php
require_once ('inc/conn.php');
if($app_install==0){header('Location:install/index.php');}
$page = safeData('page','get');
if (isDynamic()){
attemptCacheFile ('app','index');
$template->html = getCacheFile('template_index',$root.'template/'.$app_templatedir.'/'.$app_htmldir.'/index.html');
$CacheName = 'vodindex';
if (chkCache($CacheName)){
$template->html = getCache($CacheName);
}
else{
$template->replaceLabel();
$template->vodpagelist();
$template->replaceLast();
setCache($CacheName,$template->html,0);
}
setCacheFile ('app','index',$template->html);
$template->replaceRunTime();
echo $template->html;
}
else{
header('Location:'+getIndexLink());
}
dispseObj();
?>

你可能感兴趣的:(2011.3.7 致maccms开发团队的email)