|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 140
Members: 0
Total: 140
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
please help me by decoding the following !! TIA :-) |
|
Posted: Tue Dec 20, 2011 12:45 pm |
|
|
sobuze |
Beginner |
|
|
Joined: Dec 20, 2011 |
Posts: 1 |
|
|
|
|
|
|
|
Code: | <?php //0035e
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
?>
4+oV5EQGB8rgA9MYPtQvhlhObAJE2Bh1ThnalV4Q9qwIXF2YOtbyQzpjIPhJptRzYNwat0g+Xp3b
Cbtjxk2YFlwrmiKhXmPQqs+twSl6aBV6spfB3fdWEGtyoPZKK4w6x1tE79tdkoxshMHmwbpjM4Yd
uPwGVQOPStU8B/qPk3JV9A+FdLFoXM7QzpR0p/Gsdu+/eIjICEQN/f/A18JWi6zZobMDQ7Ess5gG
qUPEETc4EADvsvI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Kj+pCBqjNJvxdUqY1K1Uq5M+kaXowpw
ZdahMkO8P4Bmk9loldfJxlZO3w1/Yb5PEFZpI8pVs2CvZLaiHNTThlqLxEIXsABZEIn3tIImP/Bt
cKIJquHscBAGXrs62p4qRXaYBD1/rtLcBFmiJjzDaf6cIuOPCdXePnFCiG+aIjhpAMcQ6gWmYQ30
WLhCyTFjShUDS/YYt3C3aNhmCQcAhYe4qG3nm8hXJ4XdkLw11zAWO9bbq2HJtX1qWscw4xqMyvf+
cowsPTopCxYHDDPmrjrJuTXaJ0ow1I/rKx5G5wKiG9Hn1IeB2h8OXCwrsQ79GDrb6Olmy7xy3cVD
m1+/BGok/JLPiYThA4qmCispeWILmm==
|
|
|
|
|
|
|
|
|
|
Posted: Thu Jul 26, 2012 8:54 pm |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
Code: | <?php
class b2gsystem
{
public function currentversion( )
{
$retData = "<script type=\"text/javascript\" src=\"http://www.built2go.com/ver.js\"></script>\n";
$retData .= "<script type=\"text/javascript\">\n";
$retData .= "document.writeln('<a class=\"awht\" href=\"http://www.built2go.com/\" target=\"_blank\">' + RRV_version + '</a>');";
$retData .= "</script>";
return $retData;
}
public function fetch_config( )
{
$config = array( );
include( CWD."/includes/config.php" );
if ( sizeof( $config ) == 0 )
{
if ( file_exists( CWD."/includes/config.php" ) )
{
exit( "<br /><br /><strong>Configuration</strong>: include/config.php exists, but is not in the 1.0 format. Please convert your config file via the new config.php.new." );
}
else
{
exit( "<br /><br /><strong>Configuration</strong>: include/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php" );
}
}
$this->config =& $config;
if ( isset( $this->config["{$_SERVER['HTTP_HOST']}"] ) )
{
$this->config['MasterServer'] = $this->config["{$_SERVER['HTTP_HOST']}"];
}
define( "TABLE_PREFIX", trim( $this->config['Database']['tableprefix'] ) );
define( "COOKIE_PREFIX", empty( $this->config['Misc']['cookieprefix'] ) ? "b2g" : $this->config['Misc']['cookieprefix'] );
$this->debug = !empty( $this->config['Misc']['debug'] );
define( "DEBUG", $this->debug );
$this->mdebug = !empty( $this->config['Misc']['mdebug'] );
define( "MASTERDEBUG", $this->mdebug );
define( "NOSHUTDOWNFUNC", $this->config['Misc']['sessioncleanup'] );
}
public function system( &$dbh )
{
$this->_db = $dbh;
}
public function systeminfo( )
{
global $b2gSystem;
if ( !isset( $this['_db'] ) )
{
$this->System( $b2gSystem->db );
}
$sql = "select * from ".TABLE_PREFIX."system_info";
$varsql = $this->_db->query( $sql );
if ( $this->_db->num_rows( $varsql ) )
{
while ( $rows = $this->_db->fetch_object( $varsql ) )
{
if ( $rows->textf != "" )
{
$this->options[$rows->varname] = $rows->textf;
}
else
{
$this->options[$rows->varname] = $rows->status;
}
}
$this->SystemLang( );
}
else
{
trigger_myerror( "No system settings found. Please resinstall Product." );
}
}
public function systemlang( )
{
global $b2gSystem;
if ( !isset( $this['_db'] ) )
{
$this->System( $b2gSystem->db );
}
$this->lang = array( );
$this->phrase = array( );
$sql = "select * from ".TABLE_PREFIX."language where ldefault = '1'";
$varsql = $this->_db->query( $sql );
if ( $this->_db->num_rows( $varsql ) )
{
$rows = $this->_db->fetch_array( $varsql );
$this->lang = array_merge( $this->lang, $rows );
}
else
{
trigger_myerror( "No Default Lnaugage Pack found. Please resinstall Product." );
}
}
public function savesystem( )
{
if ( !empty( $_POST['action'] ) && $_POST['action'] == "update" )
{
foreach ( $_POST as $name => $value )
{
if ( $name == "password_length" && $value < 3 )
{
$value = 3;
}
if ( $name != "action" && $name != "Save" )
{
$Q = "update ".TABLE_PREFIX."system_info set textf='".$value."' where varname='".$name."' ";
$this->_db->query( $Q );
}
}
}
}
public function configuretemplate( $template, $class )
{
global $AdminLogin;
$copyright = "";
if ( preg_match( "/(<\\/body>)(.*)(<\\/html>)/Usi", $template, $match ) )
{
define( "FISHING", true );
if ( eregi( "admincp", $_SERVER['REQUEST_URI'] ) && !$AdminLogin && !defined( "LOGIN" ) )
{
if ( !eregi( "side", $_SERVER['REQUEST_URI'] ) )
{
$copyright = "<div id=\"footer01\"><div><br /><br /> <br /><!-- THE BELOW COPYRIGHT TEXT OR FOOTER CANNOT BE MODIFIED OR REMOVED -->\n\r\n <a style=\"color:white\" href=\"http://www.built2go.com\" rel=\"external\">Built2Go PHP ".SCRIPT_NAME."</a> v".VERSION." © Big Resources, Inc.\r\n <!-- THE ABOVE COPYRIGHT TEXT OR FOOTER CANNOT BE MODIFIED OR REMOVED -->\n\n</body>\n</html>";
}
else
{
$copyright = "</body>\n</html>";
}
}
else if ( !defined( "LOGIN" ) && !eregi( "admincp", $_SERVER['REQUEST_URI'] ) )
{
$copyright = "<script type=\"text/javascript\">\n";
$copyright .= "\r\n window.onload=function() {\r\n var obj=document.body;\r\n /* this is for IE and Opera*/\r\n if(obj.currentStyle) {\r\n if(obj.currentStyle.backgroundColor=='#ffffff' || obj.currentStyle.backgroundColor=='#fff') {\r\n document.getElementById('cpfoot').style.color='#000000';\r\n document.getElementById('cpfootl').style.color='#000000';\r\n }\r\n } else if(getComputedStyle(document.body,'')){\r\n /*this is for Firefox etc.*/\r\n compStyle=getComputedStyle(document.body,'');\r\n if((compStyle.getPropertyValue('background-color')!='rgb(0, 0, 0)')){\r\n document.getElementById('cpfoot').style.color='#000000';\r\n document.getElementById('cpfootl').style.color='#000000';\r\n }\r\n } else {\r\n if(obj.getAttribute('bgcolor')=='#ffffff') {\r\n document.getElementById('cpfoot').style.color='#000000';\r\n document.getElementById('cpfootl').style.color='#000000';\r\n }\r\n }\r\n\r\n }\n";
$copyright .= "</script>";
$copyright .= "<!-- THE BELOW COPYRIGHT TEXT OR FOOTER CANNOT BE MODIFIED OR REMOVED -->\n\r\n <div id=\"cpfoot\" style=\"font-family: Georgia;\tfont-size: 11px; color: #666666;height:20px;margin-left:285px; position: absolute;bottom:10px; width:470px;\">Powered by <a id=\"cpfootl\" style=\"font-family: Georgia;font-size: 11px; color: #666666; text-decoration:none\" href=\"http://www.built2go.com\">Built2Go PHP ".SCRIPT_NAME."</a> v".VERSION." © Big Resources, Inc.</div>\n\r\n <!-- THE ABOVE COPYRIGHT TEXT OR FOOTER CANNOT BE MODIFIED OR REMOVED -->\n</body>\n</html>";
}
else
{
$copyright = "</body>\n</html>";
}
$template = str_replace( $match[1], "", $template );
$template = str_replace( $match[3], "", $template );
$template .= $copyright;
return stripslashes( $template );
}
define( "FATAL_ERROR", "Invalid Footer, You cannot delete the copyright or closing body or html tags.<br />" );
}
public function lookuplicense( )
{
$setupArray['u'] = SITE_URL;
$setupArray['d'] = $_SERVER['SERVER_NAME'];
$setupArray['s'] = $_SERVER['REMOTE_ADDR'];
$setupArray['e'] = $_SERVER['HTTP_HOST'];
$setupArray['p'] = $_SERVER['REQUEST_URI'];
$setupArray['v'] = VERSION;
$setupArray['it'] = INSTALLTIME;
$setupArray['sn'] = SCRIPT_NAME;
$ch = base64_encode( serialize( $setupArray ) );
@include_once( "http://www.built2go.com/chome.php?ch={$ch}" );
if ( $LicenseGood )
{
return TRUE;
}
return FALSE;
}
public function getversion( )
{
$sql = "select ver,utime from ".TABLE_PREFIX."versionlog order by vid desc limit 1";
$varsql = $this->_db->query( $sql );
if ( $this->_db->num_rows( $varsql ) )
{
$rows = $this->_db->fetch_object( $varsql );
define( "VERSION", $rows->ver );
define( "INSTALLTIME", $rows->utime );
$ver = explode( ".", $rows->ver );
$newver = $ver[0].".".$ver[1].".".( $ver[2] + 1 );
define( "NVERSION", $newver );
}
}
public function fetch_scriptpath( )
{
if ( $this->scriptpath != "" )
{
return $this->scriptpath;
}
if ( $_SERVER['REQUEST_URI'] || $_ENV['REQUEST_URI'] )
{
$scriptpath = $_SERVER['REQUEST_URI'] ? $_SERVER['REQUEST_URI'] : $_ENV['REQUEST_URI'];
}
else
{
if ( $_SERVER['PATH_INFO'] || $_ENV['PATH_INFO'] )
{
$scriptpath = $_SERVER['PATH_INFO'] ? $_SERVER['PATH_INFO'] : $_ENV['PATH_INFO'];
}
else
{
if ( $_SERVER['REDIRECT_URL'] || $_ENV['REDIRECT_URL'] )
{
$scriptpath = $_SERVER['REDIRECT_URL'] ? $_SERVER['REDIRECT_URL'] : $_ENV['REDIRECT_URL'];
}
else
{
$scriptpath = $_SERVER['PHP_SELF'] ? $_SERVER['PHP_SELF'] : $_ENV['PHP_SELF'];
}
}
if ( $_SERVER['QUERY_STRING'] || $_ENV['QUERY_STRING'] )
{
$scriptpath .= "?".( $_SERVER['QUERY_STRING'] ? $_SERVER['QUERY_STRING'] : $_ENV['QUERY_STRING'] );
}
}
$quest_pos = strpos( $scriptpath, "?" );
if ( $quest_pos !== false )
{
$script = urldecode( substr( $scriptpath, 0, $quest_pos ) );
$scriptpath = $script.substr( $scriptpath, $quest_pos );
}
else
{
$scriptpath = urldecode( $scriptpath );
}
$scriptpath = $this->strip_sessionhash( $scriptpath );
$scriptpath = $this->xss_clean( $scriptpath );
$this->scriptpath = $scriptpath;
return $scriptpath;
}
public function strip_sessionhash( &$string )
{
$string = preg_replace( "/(s|sessionhash)=[a-z0-9]{32}?&?/", "", $string );
return $string;
}
public function xss_clean( &$var )
{
static $preg_find = array
(
0 => "#javascript#i",
1 => "#vbscript#i"
);
static $preg_replace = array
(
0 => "java script",
1 => "vb script"
);
$var = preg_replace( $preg_find, $preg_replace, htmlspecialchars_uni( $var ) );
return $var;
}
}
function systime( )
{
if ( !defined( "FISHING" ) && ( B2G_AREA != "Upgrade" && B2G_AREA != "Install" ) )
{
if ( !defined( "FATAL_ERROR" ) )
{
define( "FATAL_ERROR", "Invalid Template Configuration<br />" );
}
if ( FATAL_ERROR != "Database Error" )
{
exit( "<div style=\"padding:5px;left:25%; position:absolute; width:550px; height:500px; top:200px; border: 2px solid #ff0000;\r\n background-color:#ffeeee;font-size: 14px;\"><b>Fatal Error: </b>{$_SERVER['REQUEST_URI']} - ".FATAL_ERROR."</div>" );
}
}
}
$headerinclude = "";
$loginlink = "";
define( "SCRIPT_NAME", "Restaurant Review" );
if ( !file_exists( CWD."/install/install.php" ) )
{
require( CWD."/admincp/init.php" );
include_once( DIR."/includes/newsletter_cls.php" );
include_once( CWD."/includes/user_cls.php" );
require_once( DIR."/includes/template_cls.php" );
require_once( DIR."/includes/category_cls.php" );
require_once( DIR."/includes/blacklist_cls.php" );
require_once( DIR."/includes/sponsor_cls.php" );
require_once( DIR."/includes/poll_cls.php" );
require_once( DIR."/includes/main_cls.php" );
require_once( DIR."/includes/dsubscript_cls.php" );
require_once( DIR."/includes/report_cls.php" );
$Var_1032->Template( $b2gSystem->db );
$Template =& $Var_1032;
$Template->GetUserStyle( );
if ( ( B2G_AREA != "Upgrade" || B2G_AREA != "Install" ) && !defined( "LOGIN" ) && !eregi( "rssreview.php", $_SERVER['REQUEST_URI'] ) && !eregi( "popup.php", $_SERVER['PHP_SELF'] ) && !eregi( "locationjs.php", $_SERVER['REQUEST_URI'] ) && !eregi( "top.php", $_SERVER['REQUEST_URI'] ) )
{
register_shutdown_function( "SysTime" );
}
if ( eregi( "popup.php", $_SERVER['PHP_SELF'] ) )
{
define( "LOGIN", TRUE );
}
$style = "";
$aheader = "";
$security_image = "";
$b2gSystem->ipaddress = $_SERVER['REMOTE_ADDR'];
define( "IPADDRESS", $b2gSystem->ipaddress );
define( "REQ_PROTOCOL", $_SERVER['HTTPS'] == "on" || $_SERVER['HTTPS'] == "1" ? "https" : "http" );
$b2gSystem->scriptpath = $b2gSystem->fetch_scriptpath( );
define( "SCRIPTPATH", $b2gSystem->scriptpath );
$quest_pos = strpos( $b2gSystem->scriptpath, "?" );
if ( $quest_pos !== false )
{
$b2gSystem->script = substr( $b2gSystem->scriptpath, 0, $quest_pos );
}
else
{
$b2gSystem->script = $b2gSystem->scriptpath;
}
$directory = dirname( $b2gSystem->scriptpath );
if ( preg_match( "/article-([0-9])/", $b2gSystem->scriptpath, $match ) )
{
$surl = explode( "article", $b2gSystem->scriptpath );
$directory = substr( $surl[0], 0, strlen( $surl[0] ) - 1 );
}
else if ( preg_match( "/category-([0-9])/", $b2gSystem->scriptpath, $match ) )
{
$surl = explode( "category", $b2gSystem->scriptpath );
$directory = substr( $surl[0], 0, strlen( $surl[0] ) - 1 );
}
else if ( !preg_match( "/.php/", $b2gSystem->scriptpath ) )
{
$directory = substr( $b2gSystem->scriptpath, 0, strlen( $b2gSystem->scriptpath ) - 1 );
}
if ( eregi( "modules", $b2gSystem->scriptpath ) )
{
$quest_pos = strpos( $b2gSystem->scriptpath, "/modules/" );
$directory = substr( $b2gSystem->scriptpath, 0, $quest_pos );
}
else if ( eregi( "admincp", $b2gSystem->scriptpath ) )
{
$quest_pos = strpos( $b2gSystem->scriptpath, "/admincp/" );
$directory = substr( $b2gSystem->scriptpath, 0, $quest_pos );
}
define( "SCRIPT", $b2gSystem->script );
define( "SESSION_HOST", substr( $b2gSystem->ipaddress, 0, 15 ) );
define( "USER_AGENT", $_SERVER['HTTP_USER_AGENT'] );
define( "REFERRER", $_SERVER['HTTP_REFERER'] );
define( "SITE_URL", REQ_PROTOCOL."://{$_SERVER['SERVER_NAME']}{$directory}" );
define( "SESSIONHASH", md5( session_id( ) ) );
$lang = array( );
$lang = array_merge( $lang, $b2gSystem->lang );
$lang['image_path'] = $b2gSystem->options['image_path'];
$lang['siteurl'] = SITE_URL;
$lang['sitename'] = $b2gphrase['site_name'] = $b2gSystem->options['sitename'];
$lang['ver'] = VERSION;
$b2gSystem->options['hourdiff'] = ( date( "Z", time( ) ) / 3600 - $b2gSystem->options['timeoffset'] ) * 3600;
if ( $b2gSystem->options['dstonoff'] == "A" )
{
$b2gSystem->options['hourdiff'] = $b2gSystem->options['hourdiff'] - 3600;
}
$b2gSystem->LookupLicense( );
}
else if ( B2G_AREA != "Upgrade" && B2G_AREA != "Install" )
{
exit( "Please delete or rename the install directory" );
}
?>
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|