首頁 > 後端開發 > php教程 > zeed加密的php 文件 求解密!

zeed加密的php 文件 求解密!

WBOY
發布: 2016-06-23 14:23:23
原創
1387 人瀏覽過

源码在这里求破解

http://pan.baidu.com/s/17SzKJ


回复讨论(解决方案)

注释掉的哪行有点问题,只能参照别的文件自己修补下了
其他地方的应该是没有问题。

<?phpif ( defined( "IN_DISCUZ" ) ){	exit( "Access Denied" );}define( "S_PLUGINNAME", "singcere_wxpublic" );require_once( DISCUZ_ROOT."./source/plugin/singcere_wxpublic/function/function_singcere_core.php" );require_once( DISCUZ_ROOT."./source/plugin/singcere_wxpublic/gc.class.php" );require_once( s_libfile( "api/weixin/wechatcallback" ) );require_once( s_libfile( "cmdhelper" ) );global $_G;$wechat = new wechatcallback( getpluginparam( "token" ) );if ( $_GET['echostr'] ){	$wechat->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( ) );	}}?>
登入後複製
登入後複製

注释掉的哪行有点问题,只能参照别的文件自己修补下了
其他地方的应该是没有问题。

<?phpif ( defined( "IN_DISCUZ" ) ){	exit( "Access Denied" );}define( "S_PLUGINNAME", "singcere_wxpublic" );require_once( DISCUZ_ROOT."./source/plugin/singcere_wxpublic/function/function_singcere_core.php" );require_once( DISCUZ_ROOT."./source/plugin/singcere_wxpublic/gc.class.php" );require_once( s_libfile( "api/weixin/wechatcallback" ) );require_once( s_libfile( "cmdhelper" ) );global $_G;$wechat = new wechatcallback( getpluginparam( "token" ) );if ( $_GET['echostr'] ){	$wechat->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) 有没有办法让他不提示这个呢 怎么取消这个验证

來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板