谁能帮我解密这个Zend后的PHP代码
发布网友
发布时间:2022-04-20 04:59
我来回答
共2个回答
热心网友
时间:2023-10-14 04:46
解好了,代码太多,代码第一部份如下:<?php
/*********************/
/* */
/* Version : 5.1.0 */
/* Author : RM */
/* Comment : 071223 */
/* */
/*********************/if ( !defined( "BASEPATH" ) )
{
exit( "No direct script access allowed" );
}
class sitemap_model extends model
{function sitemap_model( )
{
model::model( );
$this->article_table = "articles";
$this->tags_table = "tags";
$this->load->model( "main", "main_model" );
}function sitemap( )
{
if ( @!file_exists( ROOTPATH."sitemap" ) || !mkdir( ROOTPATH."sitemap" ) )
{
echo "<meta http-equiv=\"Content-Type\" content=\"text/html\"; charset=\"utf-8\" />\n<script>alert('鍒涘缓sitemap鐩�綍澶辫触璇锋坠锷ㄥ垱寤?);</script>";
}
else
{
$_obfuscate_BUSyTdAsBWc = 30000;
$_obfuscate_AedrEg = 0;
$_obfuscate_ApRFBOJOZX1O = 1;
$_obfuscate_6RYLWQ = date( "Y-m-d" );
$_obfuscate_AlKf0lnLLrd7RA = "daily";
$_obfuscate_8kvAknqn9E = "sitemap.xml";
$_obfuscate_dw4x = "<?xml version='1.0' encoding='UTF-8'?>\n";
$_obfuscate_dw4x .= "<urlset xmlns=\" http://www.sitemaps.org/schemas/sitemap/0.9\">\n";
$_obfuscate_fMfssw = $this->main_model->block( 0 );
foreach ( $_obfuscate_fMfssw as $_obfuscate_VgKtFeg )
{
++$_obfuscate_ApRFBOJOZX1O;
$_obfuscate_dw4x .= "<url>\n";
$_obfuscate_dw4x .= "<loc>http://".$_SERVER['HTTP_HOST'].$_obfuscate_VgKtFeg['url']."</loc>\n";
$_obfuscate_dw4x .= "<lastmod>".$_obfuscate_6RYLWQ."</lastmod>\n";
$_obfuscate_dw4x .= "<changefreq>".$_obfuscate_AlKf0lnLLrd7RA."</changefreq>\n";
$_obfuscate_dw4x .= "<priority>0.8</priority>\n";
$_obfuscate_dw4x .= "</url>\n";
if ( $_obfuscate_BUSyTdAsBWc <= $_obfuscate_ApRFBOJOZX1O )
{
$_obfuscate_RQlRcP3pGL0[] = $this->create_file( $_obfuscate_dw4x );
$_obfuscate_ApRFBOJOZX1O = 0;
}
}
$_obfuscate_dw4x .= "<url>\n";
$_obfuscate_dw4x .= "<loc>http://".$_SERVER['HTTP_HOST'].base_url( )."index.php/article/taglist</loc>\n";
$_obfuscate_dw4x .= "<lastmod>".$_obfuscate_6RYLWQ."</lastmod>\n";
$_obfuscate_dw4x .= "<changefreq>".$_obfuscate_AlKf0lnLLrd7RA."</changefreq>\n";
$_obfuscate_dw4x .= "<priority>0.8</priority>\n";
$_obfuscate_dw4x .= "</url>\n";
++$_obfuscate_ApRFBOJOZX1O;
$_obfuscate_b_deOBGCRg = $this->main_model->gettags( );
foreach ( $_obfuscate_b_deOBGCRg as $_obfuscate_VgKtFeg )
{
$_obfuscate_b_deOBGCRg = $this->get_tag_by_id( $_obfuscate_VgKtFeg );
++$_obfuscate_ApRFBOJOZX1O;
$_obfuscate_dw4x .= "<url>\n";
$_obfuscate_dw4x .= "<loc>http://".$_SERVER['HTTP_HOST'].$_obfuscate_b_deOBGCRg['url']."</loc>\n";
$_obfuscate_dw4x .= "<lastmod>".$_obfuscate_6RYLWQ."</lastmod>\n";
$_obfuscate_dw4x .= "<changefreq>".$_obfuscate_AlKf0lnLLrd7RA."</changefreq>\n";
$_obfuscate_dw4x .= "<priority>0.8</priority>\n";
$_obfuscate_dw4x .= "</url>\n";
if ( $_obfuscate_BUSyTdAsBWc <= $_obfuscate_ApRFBOJOZX1O )
{
$_obfuscate_RQlRcP3pGL0[] = $this->create_file( $_obfuscate_dw4x );
$_obfuscate_ApRFBOJOZX1O = 0;
}
}
$_obfuscate_dw4x .= "<url>\n";
$_obfuscate_dw4x .= "<loc>http://".$_SERVER['HTTP_HOST'].base_url( )."index.php/article/album</loc>\n";
$_obfuscate_dw4x .= "<lastmod>".$_obfuscate_6RYLWQ."</lastmod>\n";
$_obfuscate_dw4x .= "<changefreq>".$_obfuscate_AlKf0lnLLrd7RA."</changefreq>\n";
$_obfuscate_dw4x .= "<priority>0.8</priority>\n";
$_obfuscate_dw4x .= "</url>\n";
++$_obfuscate_ApRFBOJOZX1O;
$_obfuscate_fMfssw = $this->getcategorylist( );
$_obfuscate_w9JNSDE = $this->config->config['sys']['article_pagesize'];
if ( empty( $_obfuscate_w9JNSDE ) )
{
$_obfuscate_w9JNSDE = 20;
}
foreach ( $_obfuscate_fMfssw as $_obfuscate_Vwty => $_obfuscate_VgKtFeg )
{
++$_obfuscate_ApRFBOJOZX1O;
$_obfuscate_dw4x .= "<url>\n";
$_obfuscate_dw4x .= "<loc>http://".$_SERVER['HTTP_HOST'].base_url( )."article/".$_obfuscate_VgKtFeg['url']."</loc>\n";
$_obfuscate_dw4x .= "<lastmod>".$_obfuscate_6RYLWQ."</lastmod>\n";
$_obfuscate_dw4x .= "<changefreq>".$_obfuscate_AlKf0lnLLrd7RA."</changefreq>\n";
$_obfuscate_dw4x .= "<priority>0.7</priority>\n";
$_obfuscate_dw4x .= "</url>\n";
$_obfuscate_38lJ6BqA = $this->getcatcount( $_obfuscate_Vwty );
$_obfuscate_gftfagw = intval( $_obfuscate_38lJ6BqA / $_obfuscate_w9JNSDE );
$_obfuscate_7w = 0;
for ( ; $_obfuscate_7w < $_obfuscate_gftfagw; ++$_obfuscate_7w )
{
++$_obfuscate_ApRFBOJOZX1O;
$_obfuscate_dw4x .= "<url>\n";
$_obfuscate_dw4x .= "<loc>http://".$_SERVER['HTTP_HOST'].base_url( )."article/".$_obfuscate_VgKtFeg['url']."/list_".( $_obfuscate_7w + 1 ) * $_obfuscate_w9JNSDE.".html</loc>\n";
$_obfuscate_dw4x .= "<lastmod>".$_obfuscate_6RYLWQ."</lastmod>\n";
$_obfuscate_dw4x .= "<changefreq>".$_obfuscate_AlKf0lnLLrd7RA."</changefreq>\n";
$_obfuscate_dw4x .= "<priority>0.6</priority>\n";
$_obfuscate_dw4x .= "</url>\n";
}
if ( $_obfuscate_BUSyTdAsBWc <= $_obfuscate_ApRFBOJOZX1O )
{
$_obfuscate_RQlRcP3pGL0[] = $this->create_file( $_obfuscate_dw4x );
$_obfuscate_ApRFBOJOZX1O = 0;
}
}
$this->db->order_by( "created", "desc" );
$_obfuscate_fMfssw = $this->getlist( NULL, 0 );
$_obfuscate_gftfagw = count( $_obfuscate_fMfssw );
$_obfuscate_7w = 0;
for ( ; $_obfuscate_7w < $_obfuscate_gftfagw; ++$_obfuscate_7w )
{
$_obfuscate_PaJ2sB1c6sMH = $_obfuscate_7w < 100 ? 0.7 : 0.5;
++$_obfuscate_ApRFBOJOZX1O;
$_obfuscate_dw4x .= "<url>\n";
$_obfuscate_dw4x .= "<loc>http://".$_SERVER['HTTP_HOST'].$_obfuscate_fMfssw[$_obfuscate_7w]['url']."</loc>\n";
$_obfuscate_dw4x .= "<lastmod>".$_obfuscate_6RYLWQ."</lastmod>\n";
$_obfuscate_dw4x .= "<changefreq>".$_obfuscate_AlKf0lnLLrd7RA."</changefreq>\n";
$_obfuscate_dw4x .= "<priority>".$_obfuscate_PaJ2sB1c6sMH."</priority>\n";
$_obfuscate_dw4x .= "</url>\n";
if ( $_obfuscate_BUSyTdAsBWc <= $_obfuscate_ApRFBOJOZX1O )
{
$_obfuscate_RQlRcP3pGL0[] = $this->create_file( $_obfuscate_dw4x );
$_obfuscate_ApRFBOJOZX1O = 0;
}
}
$_obfuscate_dw4x .= "</urlset>\n";
if ( !empty( $_obfuscate_RQlRcP3pGL0 ) )
{
$_obfuscate_7jDm9blbWw = "<?xml version='1.0' encoding='UTF-8'?>\n";
$_obfuscate_7jDm9blbWw .= "<sitemapindex xmlns=\" http://www.sitemaps.org/schemas/sitemap/0.9\">\n";
foreach ( $_obfuscate_RQlRcP3pGL0 as $_obfuscate_JTe7jJ4eGW8 )
{
$_obfuscate_7jDm9blbWw .= "<sitemap>\n";
$_obfuscate_7jDm9blbWw .= "<loc>".full_url( ).$_obfuscate_JTe7jJ4eGW8."</loc>\n";
$_obfuscate_7jDm9blbWw .= "<lastmod>".$_obfuscate_6RYLWQ."</lastmod>\n";
$_obfuscate_7jDm9blbWw .= "</sitemap>\n";
}
$_obfuscate_7jDm9blbWw .= "</sitemapindex>";
write_file( ROOTPATH."sitemap/sitemap.xml", $_obfuscate_7jDm9blbWw );
return $_obfuscate_8kvAknqn9E;
}
write_file( ROOTPATH."sitemap/sitemap.xml", $_obfuscate_dw4x );
}
return $_obfuscate_8kvAknqn9E;
}function create_file( &$_obfuscate_dw4x )
{
global $xml_count;
++$xml_count;
$_obfuscate_dw4x .= "</urlset>";
if ( write_file( ROOTPATH."sitemap/".$xml_count.".xml", $_obfuscate_dw4x ) )
{
++$this->xml_count;
$_obfuscate_RQlRcP3pGL0 = "sitemap/".$xml_count.".xml";
}
$_obfuscate_dw4x = "<?xml version='1.0' encoding='GBK'?>\n";
$_obfuscate_dw4x .= "<urlset xmlns=\" http://www.sitemaps.org/schemas/sitemap/0.9\">\n";
return $_obfuscate_RQlRcP3pGL0;
}
热心网友
时间:2023-10-14 04:46
如果是php4加密 的话用DEzend 就行了,5的话看看解密后能否把混淆的函数对起来