C'è una bella differenza tra criptato e offuscato.
Viene eseguito questo codice:
Codice PHP:
$O000O0O00=$GLOBALS['OOO000O00']($OOO0O0O00,'rb');$GLOBALS['O0O00OO00']($O000O0O00,0x517);$OO00O00O0=$GLOBALS['OOO0000O0']($GLOBALS['OOO00000O']($GLOBALS['O0O00OO00']($O000O0O00,0x1a8),'warpmedi209AIDEMPRWBbCcFfGgHhJjKkLlNnOoQqSsTtUuVvXxYyZz1345678+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));eval($OO00O00O0);
Cosa fa? apre in lettura il file dove è contenuto questo codice e ne scarta i primi 1303 byte. Dopodiché recupera i 424 byte successivi, per poi venire nuovamente eseguito. Il risultato non sembra dannoso:
codice:
define('IN_PHPBB',true);
$phpbb_root_path = './';
include($phpbb_root_path .'extension.inc');
include($phpbb_root_path .'common.'.$phpEx);
$userdata = session_pagestart($user_ip,PAGE_INDEX);
init_userprefs($userdata);
mysql_select_db($database_db1,$db1);
$sql = "SELECT * FROM news where visibile = 1 order by sort";
$result = mysql_query($sql,$db1) or die(mysql_error());
$row_result = mysql_fetch_assoc($result);
$totalRows_result = mysql_num_rows($result);
if ($totalRows_result)
{
$template->assign_block_vars('news',array());
do {
$id = $row_result['id'];
$template->assign_block_vars('news.item',array(
'id'=>$id,
'titolo'=>$row_result['nome_'.$board_config['lingua']],
'intro'=>$row_result['intro_'.$board_config['lingua']],
'url'=>$lang_link_prefix."news.".$id.".html",
'data_news'=>date("d-m-Y",$row_result['data_news']),
));
}while($row_result = mysql_fetch_assoc($result));
}
mysql_free_result($result);
mysql_select_db($database_db1,$db1);
$sql = "SELECT * FROM home where lingua = '".$board_config['lingua']."'";
$result = mysql_query($sql,$db1) or die(mysql_error());
$row_result = mysql_fetch_assoc($result);
$totalRows_result = mysql_num_rows($result);
if ($totalRows_result)
{
do {
$testo = $row_result['testo'];
$template->assign_vars(array(
'testo'=>$row_result['testo'],
'label'=>NULL,
'intro'=>"",
'menu_style'=>"",
));
}while($row_result = mysql_fetch_assoc($result));
}
mysql_free_result($result);
$intestazione = 0;
$boxnews = 0;
$page_title = "Ro.Dis.Co";
$meta_description = "Onoranze funebri";
$meta_keywords = "";
include($phpbb_root_path .'includes/page_header.'.$phpEx);
$template->set_filenames(array( 'body'=>$lingua.'index.tpl') );
$template->pparse('body');
include($phpbb_root_path .'includes/page_tail.'.$phpEx);