
A vulnerability scanner that searches for the CVE-2024-9166 vulnerability on websites, more info about this vulnerability here: https://www.tenable.com/cve/CVE-2024-9166
一个基于Python的工具,用于扫描网站是否存在CVE-2024-9166漏洞,这是最新的漏洞之一(在发布此仓库时)。它检查漏洞模式,测试漏洞以确认,并将结果记录到文件中。
我对此工具的任何滥用行为概不负责。本工具旨在用于道德黑客行为,进行渗透测试(以及任何类型的黑客攻击)未经同意是非法的,并可能带来严重后果!
要安装该工具,只需使用以下单一命令复制此Github仓库:
git clone https://github.com/Andrysqui/CVE-2024-9166
pip 安装 Python 依赖:pip install requests beautifulsoup4 argparse
python3 CVE-2024-9166.py --url https://example.com
python3 CVE-2024-9166.py --file urls.txt --logfile output.log
python3 CVE-2024-9166.py --url https://example.com --headers '{"User-Agent": "Custom-Agent", "Bug-Bounty: True", "Pen-Testing: True"}'
-h 或 --help:显示帮助信息,解释下面的每个参数。--url 或 -u:指定要扫描的单个URL(与 -f 或 --file 互斥)。--file 或 -f:包含待扫描URL的文件路径(每行一个,与 -u 或 --url 互斥)。--logfile 或 -l:记录结果的路径(默认:scan_log.txt)。--headers:JSON 格式的自定义请求头(例如 '{"User-Agent": "Custom-Agent"}')。--threads:扫描多个URL时的线程数(默认:5)。--exploit-command:用于测试漏洞的命令(默认:id)。--vulnerable-content:使用自定义命令时,在响应中搜索以确认漏洞的模式(默认:uid=)。