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 Expire
d";
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";
&n
bsp; 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.rar
http://templates.eb2000.cn/mediproefood/S002.rar
当然像企业的模板比较多,我们就用迅雷批量下载了,好了我就讲这么多吧.这可是我这几天来看了好久代码的结果呀,没有一点保留,我觉得这个网站人气还可以