源碼在這裡求破解
http://pan.baidu.com/s/17SzKJ
回複討論(解決方案)
注釋掉的哪行有點問題,只能參照別的檔案自己修補下了
其他地方的應該是沒有問題。
valid( );exit( );}if ( $_GET['debug'] == 1 ){if ( $_SERVER['REQUEST_METHOD'] == "GET" ){$gc = new GC( "singcere_wxpublic.plugin", 0 );$gc->validate( 43200, "showmessage" );global $_G;header( "Content-type: text/html; charset=utf-8" );$wxlogo = file_exists( $_G['setting']['attachurl']."/singcere_file/singcere_wxpublic/wxlogo.jpg" ) ? $_G['setting']['attachurl']."/singcere_file/singcere_wxpublic/wxlogo.jpg" : "source/plugin/singcere_wxpublic/template/src/images/wx.jpg";$sitename = str_convert_encoding( $_G['setting']['bbname'], CHARSET, "utf-8" );$page = in_array( $_GET['page'], array( "welcome", "guide", "code" ) ) ? $_GET['page'] : "welcome";include( template( "singcere_wxpublic:".$page ) );}else{header( "Content-type: text/html; charset=utf-8" );global $_G;global $syscmdlist;global $cuscmdlist;global $postobj;$postobj = $wechat->getMsg( );$ch = new cmdhelper( $postobj );$gc = new GC( "singcere_wxpublic.plugin", 0 );if ( $gc->validate( 43200, "text" ) ){$wechat->responseMsg( $ch->send( $gc->validate( 43200, "text", "The website has not been authorized (Singcere.net)" ) ) );}define( "IN_WEIXIN", 1 );if ( getpluginparam( "close" ) ){/*$wechat->responseMsg( getpluginparam( "close_notice" )( getpluginparam( "close_notice" ) ) );*/exit( );}switch ( $postobj->MsgType ){case "text" :$content = str_convert_encoding( trim( $postobj->Content ), "UTF-8", CHARSET );break;case "image" :$_GET['action'] = "publish";require( DISCUZ_ROOT."source/plugin/singcere_wxpublic/ishare.inc.php" );exit( );case "event" :$content = str_convert_encoding( trim( $postobj->Event ), "UTF-8", CHARSET );}$cmd = explode( $_G['cache']['plugin']['singcere_wxpublic']['separator'], $content, 2 );if ( $cmd[0] == "subscribe" ){$salutation = str_replace( "{bbname}", $_G['setting']['bbname'], getpluginparam( "salutation" ) );$wechat->responseMsg( $ch->send( $salutation ) );exit( );}$ch->init( );$wechat->responseMsg( $ch->exec( ) );}}?>
注釋掉的哪行有點問題,只能參照別的檔案自己修補下了
其他地方的應該是沒有問題。
valid( );exit( );}if ( $_GET['debug'] == 1 ){if ( $_SERVER['REQUEST_METHOD'] == "GET" ){$gc = new GC( "singcere_wxpublic.plugin", 0 );$gc->validate( 43200, "showmessage" );global $_G;header( "Content-type: text/html; charset=utf-8" );$wxlogo = file_exists( $_G['setting']['attachurl']."/singcere_file/singcere_wxpublic/wxlogo.jpg" ) ? $_G['setting']['attachurl']."/singcere_file/singcere_wxpublic/wxlogo.jpg" : "source/plugin/singcere_wxpublic/template/src/images/wx.jpg";$sitename = str_convert_encoding( $_G['setting']['bbname'], CHARSET, "utf-8" );$page = in_array( $_GET['page'], array( "welcome", "guide", "code" ) ) ? $_GET['page'] : "welcome";include( template( "singcere_wxpublic:".$page ) );}else{header( "Content-type: text/html; charset=utf-8" );global $_G;global $syscmdlist;global $cuscmdlist;global $postobj;$postobj = $wechat->getMsg( );$ch = new cmdhelper( $postobj );$gc = new GC( "singcere_wxpublic.plugin", 0 );if ( $gc->validate( 43200, "text" ) ){$wechat->responseMsg( $ch->send( $gc->validate( 43200, "text", "The website has not been authorized (Singcere.net)" ) ) );}define( "IN_WEIXIN", 1 );if ( getpluginparam( "close" ) ){/*$wechat->responseMsg( getpluginparam( "close_notice" )( getpluginparam( "close_notice" ) ) );*/exit( );}switch ( $postobj->MsgType ){case "text" :$content = str_convert_encoding( trim( $postobj->Content ), "UTF-8", CHARSET );break;case "image" :$_GET['action'] = "publish";require( DISCUZ_ROOT."source/plugin/singcere_wxpublic/ishare.inc.php" );exit( );case "event" :$content = str_convert_encoding( trim( $postobj->Event ), "UTF-8", CHARSET );}$cmd = explode( $_G['cache']['plugin']['singcere_wxpublic']['separator'], $content, 2 );if ( $cmd[0] == "subscribe" ){$salutation = str_replace( "{bbname}", $_G['setting']['bbname'], getpluginparam( "salutation" ) );$wechat->responseMsg( $ch->send( $salutation ) );exit( );}$ch->init( );$wechat->responseMsg( $ch->exec( ) );}}?>
在請教個問題,就是為什麼他會一直提示 The website has not been authorized (Singcere.net) 有沒有辦法讓他不提示這個呢 怎麼取消這個驗證