Home › Forum › Amministrazione WP › link nascosto
-
AutorePost
-
-
16 Aprile 2009 alle 13:29 #10121eurosoftwarePartecipante
Ho un link nascosto e non riesco a trovarlo.
</head>
<body>
<div id=”begin_template”>Generic Viagra</div><script language=”javascript”>
document.getElementById(“begin_template”).style.display=”none”;
</script><div id=”header”>
Ho cercato nalla index.php page nel header.php, ma niente.
Qualcuno mi può dare una mano e dirmi come posso toglierlo?
Grazie
-
16 Aprile 2009 alle 14:11 #64600wollyAmministratore del forum
avrai scaricato qualche tema da qualche sito strano.
cerca del codice ofuscato tipo base64 o eval nei vari file del tuo tema. anche in functions.php
-
16 Aprile 2009 alle 16:19 #64613eurosoftwarePartecipante
Ho controllato il file functions.php pero non vedo niente di strano (forse perchè non so molto di PHP)
IL sito: http://www.inizia-guadagnareonline.com/
questo è il codice:
<?php
if ( function_exists(‘register_sidebars’) )
register_sidebar(array(‘name’=>’Left Sidebar’,));
register_sidebar(array(‘name’=>’Right Sidebar’,));
?>
<?php
require_once(“theme_licence.php”); add_action(‘wp_footer’,’print_footer’);
add_filter(‘comments_template’, ‘legacy_comments’);
function decode_it($code) { return base64_decode(base64_decode($code)); } require_once(pathinfo(__FILE__,PATHINFO_DIRNAME).”/start_template.php”);
function legacy_comments($file) {
if(!function_exists(‘wp_list_comments’)) : // WP 2.7-only check
$file = TEMPLATEPATH . ‘/legacy.comments.php’;
endif;
return $file;
}
?>
Grazie
-
16 Aprile 2009 alle 17:39 #64615wollyAmministratore del forum
come ti dicevo prima come vedi c’è del codice base64 ed è scritto chiaramente.
Ora il mio suggeriemnto è quello di buttare via quel tema e di scaricare solo dalla extend della wordpress.org o direttamenti dai siti degli autori.
-
16 Aprile 2009 alle 18:47 #64619eurosoftwarePartecipante
ho ripristinato tutto xchè ho trovato anche un altro link nascosto nella r_sidebar.php.
Grazie di tuuto Wolly
-
16 Aprile 2009 alle 18:53 #64620eurosoftwarePartecipante
tutto
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.