Exploit databaseDownload repository ZIP
GH-58706aa4a03c1b036e08b4ebf93e5eb9
0x727/shuize_0x727
Sources for CVE-2021-26084
37 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files17
0x727/shuize_0x727Revision 4faed5a40cc8
- ↑..Parent directory
- BIG-IP.py
- Fortigate.py
- Nexus.py
- RuiJie.py
- SangforEdr.py
- Solr.py
- SpringBoot.py
- Tomcat.py
- Tomcat_AJP_LFI.py
- Zabbix.py
- __init__.py
- __template__.py
- fanwei.py
- qizhi.py
- seeyon.py
- tongda.py
- tongda_include.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Plugins/Vul/CMS/RuiJie.py
Python · 2,318 bytesfrom termcolor import cprint
import requests
import threading
import re
from tqdm import *
from colorama import Fore
# 全都用tqdm.write(url)打印 能够打印在进度条上方,并将进度条下移一行。
# 存在漏洞可能得需要红色,使用 tqdm.write(Fore.RED + url) 打印则有颜色
# 打印一些错误需要灰色 使用 tqdm.write(Fore.WHITE + url)
# 打印漏洞结果 使用 tqdm.write(Fore.BLACK + url)
# 模板
class Detect(threading.Thread):
name = '锐捷漏洞'
def __init__(self, url, vul_list, requests_proxies):
threading.Thread.__init__(self)
self.url = url
self.vul_list = vul_list # 存储漏洞的名字和url
self.proxies = requests_proxies # 代理
self.headers = {"User-Agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36"}
self.isExist = False # 检测该url是否存在漏洞,默认为False,如果测出有漏洞,则设置为True
# 调用各种漏洞检测方法
def run_detect(self):
# 锐捷易网关RCE
self.webVul1()
if not self.isExist:
return False
else:
return True
# 锐捷易网关RCE
def webVul1(self):
url1 = self.url + '/guest_auth/guestIsUp.php'
tqdm.write(Fore.WHITE + 'test RCE : {}'.format(url1))
try:
res = requests.get(url=url1, headers=self.headers, proxies=self.proxies, verify=False, allow_redirects=False)
if res.status_code == 200:
self.isExist = True
tqdm.write(Fore.RED + '[锐捷易网关RCE] {}'.format(url1))
self.vul_list.append(['锐捷易网关RCE', self.url, 'Yes {}'.format(url1)])
except Exception as e:
return False
if __name__ == '__main__':
from queue import Queue
vul_list = []
# proxy = r'192.168.168.148:10086'
# requests_proxies = {"http": "socks5://{}".format(proxy), "https": "socks5://{}".format(proxy)}
requests_proxies = None
url = r'http://www.domain.com'
Detect(url, vul_list, requests_proxies).run_detect()
tqdm.write(Fore.BLACK + '-' * 50 + '结果' + '-' * 50)
for vul in vul_list:
tqdm.write(Fore.BLACK + str(vul))