+ -
当前位置:首页 → 问答吧 → 有没有php高手能破解

有没有php高手能破解

时间:2010-09-09

来源:互联网

这是网上的破解方法
 
相信大家对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可以把默认的时间随便改多长都行,其他的类似,还可以破解其他的,只是现在破解之后有些文件不能运行,但是大部分的都可以了。
 
 
可是具体怎么破解,有高手帮我下么,我已经把源码破解出来了。就上面那步不会。
 
824270549,有兴趣的加我Q
 
我想看他的订单系统是怎么写的

作者: zhuyuan0321   发布时间: 2010-09-09

.......

作者: hongwan2000   发布时间: 2010-09-09

相关阅读 更多

热门下载

更多