如何去掉metinfo版权Powered by MetInfo
去掉metinfo版权Powered by MetInfo,需要对metinfo破解(metinfo商业版破解),破解方法如下:
1、破解metinfo全局函数
function met_run($code) {
return eval ($code);
}
function met_decode($code) {
return base64_decode($code);
}
function met_encode($code) {
return base64_encode($code);
}
function met_uncompress($code) {
return gzinflate($code);
}
function met_compress($code) {
return gzdeflate($code);
}
2、对metinfo破解并去掉前台版权信息。
a)打开include/common.inc.php文档,修改为此形式:
$met_c_webname=$met_c_webname;
$met_e_webname=$met_e_webname;
$met_o_webname=$met_o_webname;
b)查找met_run(met_decode($class2_all_1[2]));将这行删除,在下面增加如下代码:
//begin
global $foot;
global $lang_Info1;
global $lang_Info3;
global $metcms_v;
global $m_now_year;
global $w32_out;
$foot=””;
function authtemp($code) {
global $au_site,$met_weburl;
if(function_exists(authcode))
met_run(authcode($code,DECODE,md5(”metinfo”)));
$au_site=explode(”|”,$au_site);
foreach($au_site as $val) {
if(stristr($met_weburl,$val)) { return; }
}
var_export(”–>”);
}
function authmet() {
global $db,$met_otherinfo;
global $met_weburl;
$otherinfo = $db->get_one(”SELECT * FROM $met_otherinfo order by id desc”);
if(function_exists(authcode)
&&
authcode(”2788zljq0uBc2yKrB53/VMvq1buOcZcR2csnVXWBPmis/Vbc”,”DECODE”,”7643e256f05170cf571fc103337574c5″))
{
$authurl=authcode($otherinfo[authcode], “DECODE”, $otherinfo[authpass]);
$authurl=explode(”|”,$authurl);
foreach($authurl as $val) {
if(stristr($met_weburl,$val)) { return true; }
}
}
return false;
}
function nave1_1() {
session_start();
$_SESSION[powered]=2;
}
function fecho() {
global $output;
global $foot;
if($output==”” && !authmet()) {
okinfo(”not pass”);
exit();
}
if(!stristr($output,”Info”) && !authmet())
$output.=$foot; $_SESSION[powered]=1;
echo $output;
}
function w32_apicon() {
global $lang_indexmetinfo;
$output=ob_get_contents();
if($output==”” && !authmet()) {
okinfo(”not pass”);
exit();
}
$_SESSION[powered]=1;
}
if(isset($_SESSION[powered]) && $_SESSION[powered]!=1 && !authmet()) {
okinfo(”not pass”);
exit();
}
if(!isset($_SESSION[powered]))
$_SESSION[powered]=1;
$w32_out=1;
//end
c)打开include/global.func.php文档,查找function footer()函数,最后2行删掉。
d)关于破解前台底部版权:打开templates/default/foot.html文档,将下面代码删除。
Powered by <a href=” http://www.m***o.cn” target=”_blank” title=”{$lang_Info1}”><b>MetInfo</b></a> $metcms_v
©2008-$m_now_year <a href=” http://www.MetInfo.cn” target=”_blank” title=”{$lang_Info3}”>www.m***o.cn</a>
3、metinfo破解后台与前台差不多一样,修改admin/include/common.inc.php文档,查找met_run(met_decode($metinfo2[1]));一行,并删除掉,在下面增加如下代码
//begin
global $foot;
global $poweredby;
global $p0weredby;
global $metcms_v;
global $m_now_year;
$foot = “Powered by XXX {$metcms_v} ?? {$m_now_year}”;
function ob_phpintan() {
global $output;
global $foot;
if ($output == “”)
die(”请不要尝试去掉’Powered by MetInfo’版权标识!”);
$output = preg_replace(”/<!–.*?–>/si”, “”, $output);
if (!stristr($output, ” {$metcms_v}”))
$output .= $foot;
if ($_SESSION[poweredflag] == 2)
$_SESSION[poweredflag] = 3;
}
function ob_pcontent() {
global $lang_indexmetinfo;
$output = ob_get_contents();
if ($output == “”)
die(”请不要尝试去掉’Powered by MetInfo’版权标识!”);
$output = preg_replace(”/<!–.*?–>/si”, “”, $output);
if (!stristr($output, “<title>”)) {
ob_end_clean();
die(”请不要尝试去掉’Powered by MetInfo’版权标识!”);
}
$_SESSION[poweredflag] = 2;
}
if (isset ($_SESSION[poweredflag]) && $_SESSION[poweredflag] != 3)
die(”请不要尝试去掉’Powered by MetInfo’版权标识! 如果没有去除版权请关闭浏览器重新打开即可正常访问!”);
if (!isset ($_SESSION[poweredflag]))
$_SESSION[poweredflag] = 1;
$poweredby = 1;
$p0weredby = 1;
//end
metinfo全局函数在met_otherinfo表的data字段里是加密的解密即可,到此破解完成,不会显示版权信息了。
|