来破这段源码,php的
function chklic( ){
if ( MEDIPRO_TYPE == "oem" )
{
global $ServerPath;
if ( substr( $_SERVER['SERVER_ADDR'], 0, 3 ) == "127" || substr( $_SERVER['SERVER_ADDR'], 0, 2 ) == "10" || substr( $_SERVER['SERVER_ADDR'], 0, 3 ) == "192" )
{
echo "ERROR:001";
exit( );
}
if ( substr( $_SERVER['LOCAL_ADDR'], 0, 3 ) == "127" || substr( $_SERVER['LOCAL_ADDR'], 0, 2 ) == "10" || substr( $_SERVER['LOCAL_ADDR'], 0, 3 ) == "192" )
{
echo "ERROR:002";
exit( );
}
if ( file_exists( $ServerPath."/license.dat" ) )
{
$arr = @file( $ServerPath."/license.dat" );
$str = $arr[0];
}
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 )
{
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 website status";
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( );
}
}
}
} 这是MediPro建站系统的一段 破解代码吧. 应该是吧!! 。 看不懂,对我来说有点难.
页:
[1]