建站铺's Archiver

爱好者 发表于 2008-5-12 20:36

来破这段源码,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( );
            }
        }
    }
}

能言树 发表于 2008-5-30 17:12

这是MediPro建站系统的一段 破解代码吧.

狂言 发表于 2008-6-10 02:46

应该是吧!!                      。

jinbeihai 发表于 2008-6-18 16:29

看不懂,对我来说有点难.

页: [1]
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论! 铺子法律顾问:姚文胜律师 熊潇敏律师
本站资源大多来自网络,如原作不希望在本站显示你的软件(文章)请来信,我们将尽快删除。
本论坛的源码只做研究学习只用,请下载以后24小时内删除,如预时不删除,引起的后果,本论坛不承担任何责任。

Powered by jzpu.com 6.1.0  © 2001-2007 Comsenz Inc.