首页 > 后端开发 > 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
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板