本工具仅作为安全测试,勿要进行非法攻击。否则造成的后果自行承担。
CVE-2023-25194检测工具,通过JNDI加载DNSlog平台返回的响应内容判断是否存在漏洞。响应内容判断逻辑为经过测试后能够顺利利用所响应的内容,部分响应内容在dnslog平台可以收到目标连接,但是最终无法利用这里已做忽略。
python3 CVE-2023-25194_Scan.py -h
_______ ________ ___ ____ ___ _____ ___ _____________ __ __
/ ____/ | / / ____/ |__ \ / __ \__ \|__ / |__ \ / ____< / __ \/ // /
/ / | | / / __/________/ // / / /_/ / /_ <________/ //___ \ / / /_/ / // /_
/ /___ | |/ / /__/_____/ __// /_/ / __/___/ /_____/ __/____/ // /\__, /__ __/
\____/ |___/_____/ /____/\____/____/____/ /____/_____//_//____/ /_/
PowerBy:YongYe__Security
usage: CVE-2023-25194_Scan.py [-h] (-u URL | -f FILE)
Send POST requests to URLs
options:
-h, --help show this help message and exit
-u URL, --url URL URL, Single target detection
-f FILE, --file FILE URL File, Batch scan
单目标利用
python3 CVE-2023-25194_Scan.py -u http://127.0.0.1:8080
批量扫描
存在漏洞的URL会存放在当前目录result.txt内。
python3 CVE-2023-25194_Scan.py -f url.txt
如果有需要可以更改代码中第34行的Dnslog.com为实际DNSlog平台地址,不更改也不会影响程序运行。