转载
MediPro 名典源码专区
使用MediPro 名典系统的站长请在此交流。
相信大家对MediPro建站系统非常熟悉了,我在这里提供给大家一个破解的方法,非常简单只要修改license.php就可以了.他们提供的试用版跟OEM版程式都是一样的,只是授权文件不同,现在已经有很多的解除php加密的 dezend软件,像黑刀,经过破解,一个文件一个文件的看,终于在includes/func目录下找到common.inc.php文件,里面有个检测授权文件的函数,chklic(),如下,
function chklic( )
{
if ( MEDIPRO_TYPE == "oem" )
{
global $GLOBALS['ServerPath'];
if ( file_exists( $ServerPath."/license.dat" ) )
{
$arr = @file( $ServerPath."/license.dat" );
$str = trim( $arr[0] );
$str1 = trim( $arr[1] );
}
else
{
echo "ERROR:004";
exit( );
}
$md5str = "EHTAZIYT".$ServerPath.$_SERVER['SERVER_ADDR'].$_SERVER['LOCAL_ADDR']."22.90h7^aaz0(!skZnmLa03#nVAc_f(h-a!)wsx~9dlP1%uXJnB8.65E3zYYwa";
$md5 = md5( $md5str );
if ( $str != $md5 && $str1 != $md5 )
{
echo "ERROR:003";
exit( );
}
$ifex = 0;
if ( file_exists( "license.php" ) )
{
include( "license.php" );
$ifex = 1;
}
if ( file_exists( "../license.php" ) )
{
include( "../license.php" );
$ifex = 1;
}
if ( file_exists( "../../license.php" ) )
{
include( "../../license.php" );
$ifex = 1;
}
if ( $ifex != 1 )
{
echo "ERROR:004";
exit( );
}
$md5 = md5( $lic_exp.$lic_stat.$lic_dsk."aS09(1!)0xzW3^zxMlaKiuy*89z~sdkjl" );
if ( $md5 != $lic_sev )
{
echo "Invalied License";
exit( );
}
$now = time( );
if ( $lic_exp < $now )
{
echo "WebSite Expired";
exit( );
}
if ( $lic_stat != "1" )
{
echo "WebSite Closed";
exit( );
}
}
else
{
$ifex = 0;
if ( file_exists( "license.php" ) )
{
include( "license.php" );
$ifex = 1;
}
if ( file_exists( "../license.php" ) )
{
include( "../license.php" );
$ifex = 1;
}
if ( file_exists( "../../license.php" ) )
{
include( "../../license.php" );
$ifex = 1;
}
if ( $ifex != 1 )
{
echo "License Not Found";
exit( );
}
$HTTP_HOST = $_SERVER['HTTP_HOST'];
$str = $lic_4.$lic_1.$lic_2.$lic_3."{TC9!MediPro(*)SHOOL~5gzxCvYunlkaC(7)^DSKV(*)~6DXB006}";
$sev = base64_encode( $str );
$sev = strrev( $sev );
$sev = md5( $sev );
if ( $sev != $lic_5 )
{
echo "Invalied License";
exit( );
}
$use_server = $lic_4;
$use_start = $lic_1;
$use_end = $lic_2;
$use_type = $lic_3;
$now_time = time( );
$cha_time = $use_end - $now_time;
$cha_day = $cha_time / 60 / 60 / 24;
$cha_day = number_format( $cha_day );
$www_use_server = "www.".$use_server;
if ( $use_server != $HTTP_HOST && $www_use_server != $HTTP_HOST )
{
echo "Invalied License For This Domain Name";
exit( );
}
if ( $use_type != "nolimit" )
{
if ( $use_end < $now_time )
{
echo "Expired License";
exit( );
}
}
}
}相信只要懂一点的PHP知识的人就知道了,注册码怎么得到,修改一下,license.php可以把默认的时间随便改多长都行,其他的类似,还可以破解其他的,只是现在破解之后有些文件不能运行,但是大部分的都可以了,像模板的下载企业信息系统的模板是这样
http://templates.eb2000.cn/mediprocompany/B712.rar下载其他的模板的话前面的域名不变,紧接着后面是网站的类型,像手机是medipromobile,再后面是模板编号B712
软件类型可以到网站的includes目录下的pro.php里面去找,这个文件要破解,很快的,里面
define( "MEDIPRO_SOFTNAME", "mediproefood" );这一句就是定义软件名的,模板的编号可以到medipro网站上去查,网站是
www.eb2000.cn,比如要下载美食网站的模板,通过到他的主页查是S001-S004,我们就输入网址
http://templates.eb2000.cn/mediproefood/S001.rarhttp://templates.eb2000.cn/mediproefood/S002.rar当然像企业的模板比较多,我们就用迅雷批量下载了
medipro商贸系统注册码生成代码
安装完medipro商贸系统后,将下列代码保存为一个php程序,放在根目录下执行得到的就是licecse里面的$lic_5,将$lic_5换成得到的数据就可以了
<?php
include( "license.php" );
$str = md5(strrev(base64_encode($lic_4.$lic_1.$lic_2.$lic_3."{HK079MediProEbiz~5gvb90ZLkaC(7)^DSKxV5YuV(*)~BnxCtV^799}")));
echo $str;
?>
适合5.0以及5.1版本(不保证适合官方最新版本,有可能改变了里面的参数)