|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 81
Members: 0
Total: 81
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Ioncube decode request |
|
Posted: Fri Jun 17, 2011 9:02 am |
|
|
dragonsblade |
Beginner |
|
|
Joined: May 16, 2011 |
Posts: 2 |
|
|
|
|
|
|
|
<?php //003ab
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__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+oV5F3mm9YZQpdVhZTLkrnP88eTuRrBsTBsCEPVWOqqhvsSKvh+Rp6mBux4qlOlWLnhY57yTxnh
qFO+DgUPmOTcsFTCkYfYAFbpCw2C3qoAjx+e4uQxsLDsCKsal9YhXE4K/HoCCalNx24Ifuasjtp8
w9aczoTwoiL0cvguJA8BaO3Z1Lj2PphOgHbGAZ8mFoZfkpibOHkhhExt2ndTcVlL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gSFjaFeNy2lNrVGqu0w75aLTK4i62k34CrHhtqAHdhZnO4Oc7KgUf0fIEUhk2TTRohOcKuU0
mnefQchiHEcrjaOER2HtjKpOLbCcRNpFMnR8rFraT/5ZSaIia6feYLqEyWFdXQAc6VIBwJF1At63
sBeJs0FGRXxKPJaKjwKCseFKuxmh1WakqV3zloECkUpwx1lq3tdGhoPqcijcEg5dLFHrsMqfFwzJ
WTzD2jqZg3zyoENKl+f7K3PpiKojtvgqz4vIduInxLLP8RKcYta0E/vm45vJFZIFEGisbcm9aVTy
xkgFNdmUVFrepnN+swB2IBmHNM8Tk0t6ghLx5Bmo8E6XYauHf0UcXsfr53LLAsBfB6uwHGKofIuJ
ErM6949abQWo1zeiwRi4rwUzcuUSTW== |
|
|
|
|
|
|
|
|
Posted: Mon Jul 25, 2011 7:00 pm |
|
|
Corei7 |
Beginner |
|
|
Joined: Jul 25, 2011 |
Posts: 2 |
|
|
|
|
|
|
|
Quote: | $master_tpl->set_file( "master_page", $gThemeLocation."inside.tpl" );
$master_tpl->set_var( "TopMessage", TOOLS_TOP_MESSAGE );
$filename = "tools";
$slave_tpl = new phemplate( );
$slave_tpl->set_file( "slave_page", $gThemeLocation."inv/".$filename.".tpl" );
$slave_tpl->set_var( "WebsiteName", $gWebsiteName );
include( "include/members.info.php" );
include( "include/email.function.php" );
$GET_SQL = "SELECT * FROM vtp_newsletter WHERE (type=2 OR type=1 OR type=4) AND hide=0 ORDER BY posted_date DESC LIMIT {$gNewsletterDisplayAmount}";
$results = mysql_query( $GET_SQL );
$newsletter = "";
while ( $draft = mysql_fetch_array( $results ) )
{
if ( $draft['inject'] == 1 )
{
$action = "_w";
}
else
{
$action = "_a";
}
if ( $gNewsletterPostDate == 1 )
{
$newsletter .= "<tr><td align=\"center\"><a href=\"/newsletter/{$draft['id']}\">".ParseTags( 0, $members_id, $draft[subject], "" )."</a></td><td><small>(".TOOLS_POSTED." : {$draft['posted_date']})</small></td></tr>";
}
else
{
$newsletter .= "<tr><td align=\"center\"><a href=\"/newsletter/{$draft['id']}\">".ParseTags( 0, $members_id, $draft[subject], "" )."</a><small></td></tr>";
}
}
$slave_tpl->set_var( "newsletter", $newsletter );
if ( $gProOnly == 1 )
{
if ( $members_pro != "0" )
{
$gMenuTools = "<table align=\"center\" width=\"95%\"><tr>\n";
$GET_SQL = "SELECT * FROM vtp_menus WHERE menu_pos=1 AND menu_active=1 ORDER by menu_order ASC";
if ( !( $result = mysql_query( $GET_SQL ) ) )
{
exit( "Invalid query: ".mysql_error( ) );
}
$i = 0;
while ( $menu = mysql_fetch_array( $result ) )
{
$name = $menu['menu_text'];
$target = strtolower( $menu['menu_target'] );
$link = $menu['menu_link'];
$title = $menu['menu_title'];
$icon = $menu['menu_icon'];
$nr = $menu['menu_nr'];
$type = $menu['type'];
if ( $type == 0 )
{
$icon = $gHomeUrl.$icon;
if ( $nr == "Yes" )
{
$nr = "</tr><tr>\n";
}
else
{
$nr = "";
}
$menu_design = $gMenuToolsDesign;
$menu_design = str_replace( "[NAME]", $name, $menu_design );
$menu_design = str_replace( "[TARGET]", $target, $menu_design );
$menu_design = str_replace( "[LINK]", $link, $menu_design );
$menu_design = str_replace( "[TITLE]", $title, $menu_design );
$menu_design = str_replace( "[ICON]", $icon, $menu_design );
$menu_design = str_replace( "[COUNTER]", $i, $menu_design );
}
if ( $type == 1 )
{
$menu_design = "</tr><tr><td align=\"center\"><b>{$name}</b></td><td colspan=\"100\"><hr></td></tr><tr>";
$nr = "";
}
$gMenuTools .= "{$menu_design}{$nr}\n";
++$i;
}
$gMenuTools .= "</table>";
}
else
{
$gMenuTools = $gProOnlyCode;
}
}
else
{
$gMenuTools = "<table align=\"center\" width=\"95%\"><tr>\n";
$GET_SQL = "SELECT * FROM vtp_menus WHERE menu_pos=1 AND menu_active=1 ORDER by menu_order ASC";
if ( !( $result = mysql_query( $GET_SQL ) ) )
{
exit( "Invalid query: ".mysql_error( ) );
}
$i = 0;
while ( $menu = mysql_fetch_array( $result ) )
{
$name = $menu['menu_text'];
$target = strtolower( $menu['menu_target'] );
$link = $menu['menu_link'];
$title = $menu['menu_title'];
$icon = $menu['menu_icon'];
$nr = $menu['menu_nr'];
$type = $menu['type'];
$cond = $menu['menu_condition'];
$render_menu = 1;
if ( $cond == 1 && $members_pro == "0" )
{
$render_menu = 0;
}
if ( $render_menu == 1 )
{
if ( $type == 0 )
{
$icon = $gHomeUrl.$icon;
if ( $nr == "Yes" )
{
$nr = "</tr><tr>\n";
}
else
{
$nr = "";
}
$menu_design = $gMenuToolsDesign;
$menu_design = str_replace( "[NAME]", $name, $menu_design );
$menu_design = str_replace( "[TARGET]", $target, $menu_design );
$menu_design = str_replace( "[LINK]", $link, $menu_design );
$menu_design = str_replace( "[TITLE]", $title, $menu_design );
$menu_design = str_replace( "[ICON]", $icon, $menu_design );
$menu_design = str_replace( "[COUNTER]", $i, $menu_design );
}
if ( $type == 1 )
{
$menu_design = "</tr><tr><td align=\"center\"><b>{$name}</b></td><td colspan=\"100\"><hr></td></tr><tr>";
$nr = "";
}
$gMenuTools .= "{$menu_design}{$nr}\n";
++$i;
}
}
$gMenuTools .= "</table>";
}
$slave_tpl->set_var( "ToolsMenu", $gMenuTools );
if ( $gTradeAlert == 1 )
{
$GET_SQL = "select id from vtp_transfers WHERE (member_to_id = '{$members_id}') AND (accepted = 0 AND cancelled= 0) LIMIT 1";
@$trade = @mysql_fetch_assoc( @mysql_query( $GET_SQL ) );
if ( 0 < $trade['id'] )
{
$_GET['message'] = TRANSFER_ALERT;
}
}
$slave = $slave_tpl->process( "", "slave_page", TPL_INCLUDE | TPL_OPTIONAL );
?>
|
|
|
|
|
|
|
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
|
|
|
|
|
|