PHP168 分类信息系统 破解授权限制

本文档详细介绍了如何解除PHP168分类信息系统的授权限制。通过修改根目录下`inc/biz`文件夹内的`biz.php`和`function.php`文件,替换特定网址并调整相关函数,可以规避系统的授权检查。请注意,这可能涉及法律和道德问题,请确保遵循合法途径使用软件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  首先进入根目录下/inc/,在inc文件夹下新建biz文件夹

 然后在biz文件夹下新建2个文件分别为biz.php,function.php

 biz.php

<?php
/*********************/
/*                   */
/*  Version : 5.1.0  */
/*  Author  : RM     */
/*  Comment : 071223 */
/*                   */
/*********************/

function biz_url_ck( $BIZ_URLDB )
{
    global $db;
    global $_SERVER;
    global $HTTP_SERVER_VARS;
    global $PHP_SELF_TEMP;
    if ( !is_array( $BIZ_URLDB ) )
    {
        if ( 20090110 < date( "Ymd" ) )
        {
            exit( "a为了保证你的系统运行更稳定,功能更强大,请到官方同步升级后,才可以继续使用,谢谢合作,如给你带来不便,敬请原谅!!!" );
        }
    }
    else
    {
        $BIZ_URLDB[] = "127.0.0.1";
        $BIZ_URLDB[] = "localhost";
        $BIZ_URLDB[] = "www.XXX.com";
        $PHP_SELF_TEMP = $_SERVER['PHP_SELF'] ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_NAME'];
        $PHP_SELF = $_SERVER['REQUEST_URI'] ? $_SERVER['REQUEST_URI'] : $PHP_SELF_TEMP;
        $HTTP_HOST = $_SERVER['HTTP_HOST'] ? $_SERVER['HTTP_HOST'] : $HTTP_SERVER_VARS['HTTP_HOST'];
        $WEBURL = $HTTP_HOST.$PHP_SELF;
        if ( !$WEBURL )
        {
            $allowuse = 1;
        }
        else
        {
            foreach ( $BIZ_URLDB as $key => $value )
            {
                if ( eregi( "^[-a-z0-9_\\.]*{$value}", $WEBURL ) )
                {
                    $allowuse = 1;
                }
            }
        }
        if ( !$allowuse )
        {
            exit( "非授权用户禁止使用,有问题请联系官方站http://www.0536tm.com" );
        }
        return 1;
    }
}

function info_ck( )
{
}

function module_ck( $type )
{
    global $pre;
    global $BIZ_MODULEDB;
    if ( !is_array( $BIZ_MODULEDB ) )
    {
        if ( 20090110 < date( "Ymd" ) )
        {
            exit( "b为了保证你的系统运行更稳定,功能更强大,请到官方同步升级后,才可以继续使用,谢谢合作,如给你带来不便,敬请原谅!!!" );
        }
    }
    else
    {
        if ( !in_array( $type, $BIZ_MODULEDB ) )
        {
            exit( "此模块未经授权,禁止使用。有问题请联系官方站http://www.0536tm.com" );
        }
        return 1;
    }
}

if ( !function_exists( "AvoidGather" ) )
{
    exit( "F" );
}
unset( $BIZ_URLDB );
if ( 20100310 < date( "Ymd" ) )
{
}
$BIZ_URLDB[] = "ceshi88.hk29.winxp3.com";
if ( $BIZID && $BIZ_URLDB )
{
    echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">";
    echo "你的授权ID是:<br>";
    echo md5( "{$BIZ_URLDB['0']}" );
    exit( );
}
$BIZ_MODULEDB[] = "fenlei";
$IS_BIZPhp168 = 1;
$IS_BIZ = 1;
biz_url_ck( $BIZ_URLDB );
?>

找到$BIZ_URLDB[] = "www.XXX.com";
把其中www.XXX.com改为你的网子,

function.php

<?php
/*********************/
/*                   */
/*  Version : 5.1.0  */
/*  Author  : RM     */
/*  Comment : 071223 */
/*                   */
/*********************/

function avoidgather( )
{
    global $rsdb;
    global $webdb;
    global $IS_BIZPhp168;
    if ( !$IS_BIZPhp168 )
    {
        return;
    }
    if ( $webdb[AvoidCopy] )
    {
        $rsdb[content] = "<body οncοpy='return false' oncut='return false'>{$rsdb['content']}";
    }
    if ( $webdb[AvoidSave] )
    {
        $rsdb[content] = "{$rsdb['content']}<noscript><iframe scr='*.htm'></iframe></noscript>";
    }
    if ( !$webdb[AvoidGather] )
    {
        return;
    }
    $AvoidGatherpre = rands( 3 ).$webdb[AvoidGatherPre].rands( 3 );
    $rsdb[content] = "<div class='{$AvoidGatherpre}'>{$webdb['AvoidGatherString']}</div>{$rsdb['content']}<div class='{$AvoidGatherpre}'>{$webdb['AvoidGatherString']}</div>";
    $AvoidGatherpre = rands( 3 ).$webdb[AvoidGatherPre].rands( 3 );
    $rsdb[content] = str_replace( "<br>", "<br><div class='{$AvoidGatherpre}'>{$webdb['AvoidGatherString']}{$AvoidGatherpre}</div>", $rsdb[content] );
    $rsdb[content] = str_replace( "<BR>", "<BR><div class='{$AvoidGatherpre}'>{$webdb['AvoidGatherString']}{$AvoidGatherpre}</div>", $rsdb[content] );
    $AvoidGatherpre = rands( 3 ).$webdb[AvoidGatherPre].rands( 3 );
    $rsdb[content] = str_replace( "<p>", "<p><div class='{$AvoidGatherpre}'>{$webdb['AvoidGatherString']}{$AvoidGatherpre}</div>", $rsdb[content] );
}

function limt_ip( $type )
{
    global $webdb;
    global $ForceEnter;
    global $IS_BIZPhp168;
    global $onlineip;
    if ( !$IS_BIZPhp168 )
    {
        global $IS_BIZ;
        $IS_BIZ = "";
    }
    else
    {
        if ( $type == "ForbidIp" && $webdb[ForbidIp] )
        {
            $detail = explode( "\r\n", $webdb[ForbidIp] );
            foreach ( $detail as $key => $value )
            {
                $value = trim( $value );
                if ( !$value )
                {
                    continue;
                }
                if ( ereg( "^{$value}", $onlineip ) )
                {
                    exit( "Forbid Ip!!" );
                }
            }
        }
        if ( $type == "AllowVisitIp" && $webdb[AllowVisitIp] )
        {
            $AllowVisit = 0;
            $detail = explode( "\r\n", $webdb[AllowVisitIp] );
            foreach ( $detail as $key => $value )
            {
                $value = trim( $value );
                if ( !$value )
                {
                    continue;
                }
                if ( ereg( "^{$value}", $onlineip ) )
                {
                    $AllowVisit = 1;
                }
            }
            if ( !$AllowVisit )
            {
                exit( "NO Allow Visit!!" );
            }
        }
        if ( $type == "AdminIp" && $ForceEnter == 0 && $webdb[AdminIp] )
        {
            $AllowVisit = 0;
            $detail = explode( "\r\n", $webdb[AdminIp] );
            foreach ( $detail as $key => $value )
            {
                $value = trim( $value );
                if ( !$value )
                {
                    continue;
                }
                if ( ereg( "^{$value}", $onlineip ) )
                {
                    $AllowVisit = 1;
                }
            }
            if ( !$AllowVisit )
            {
                exit( "NO Allow Login!!" );
            }
        }
    }
}

function biz_function( )
{
}

require_once( PHP168_PATH."inc/biz/biz.php" );
?>



 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值