AcuAutomate 是一个非官方的 Acunetix CLI 工具,用于简化大规模目标上的自动化渗透测试和漏洞挖掘。它在大型渗透测试中非常有用,能够同时轻松启动或停止多个 Acunetix 扫描。此外,其多功能性使其能够无缝集成到枚举包装器或单行命令中,通过管道功能提供高效的控制。

git clone https://github.com/danialhalo/AcuAutomate.git
cd AcuAutomate
chmod +x AcuAutomate.py
pip3 install -r requirements.txt
在使用 AcuAutomate 之前,你需要在 AcuAutomate 文件夹中设置配置文件 config.json:
{
"url": "https://localhost",
"port": 3443,
"api_key": "API_KEY"
}
可以使用帮助参数 (-h) 获取特定操作的更详细帮助
__ _ ___
____ ________ ______ ___ / /_(_) __ _____/ (_)
/ __ `/ ___/ / / / __ \/ _ \/ __/ / |/_/_____/ ___/ / /
/ /_/ / /__/ /_/ / / / / __/ /_/ /> </_____/ /__/ / /
\__,_/\___/\__,_/_/ /_/\___/\__/_/_/|_| \___/_/_/
-: By Danial Halo :-
usage: AcuAutomate.py [-h] {scan,stop} ...
Launch or stop a scan using Acunetix API
positional arguments:
{scan,stop} Action to perform
scan Launch a scan use scan -h
stop Stop a scan
options:
-h, --help show this help message and exit
要启动扫描,你需要使用扫描操作:
xubuntu:~/AcuAutomate$ ./AcuAutomate.py scan -h
usage: AcuAutomate.py scan [-h] [-p] [-d DOMAIN] [-f FILE]
[-t {full,high,weak,crawl,xss,sql}]
options:
-h, --help show this help message and exit
-p, --pipe Read from pipe
-d DOMAIN, --domain DOMAIN
Domain to scan
-f FILE, --file FILE File containing list of URLs to scan
-t {full,high,weak,crawl,xss,sql}, --type {full,high,weak,crawl,xss,sql}
High Risk Vulnerabilities Scan, Weak Password Scan, Crawl Only,
XSS Scan, SQL Injection Scan, Full Scan (by default)
可以使用 -d 标志为单个站点扫描提供域名:
./AcuAutomate.py scan -d https://www.google.com
要扫描多个域名,需要将域名添加到文件中,然后使用 -f 标志指定文件名:
./AcuAutomate.py scan -f domains.txt
AcuAutomate 还可以通过 -p 标志与管道输入配合使用:
cat domain.txt | ./AcuAutomate.py scan -p
这非常棒 😍,因为它使 AcuAutomate 能够与其他工具协同工作。例如,我们可以使用 subfinder、httpx,然后将输出通过管道传递给 AcuAutomate 进行 Acunetix 批量扫描:
subfinder -silent -d google.com | httpx -silent | ./AcuAutomate.py scan -p
可以使用 -t 标志定义扫描类型。例如,以下扫描将仅检测 SQL 漏洞:
./AcuAutomate.py scan -d https://www.google.com -t sql
AcuAutomate 只接受带 http:// 或 https:// 的域名
stop 操作用于停止扫描,可以通过 -d 标志指定域名停止扫描,或通过 -a 标志停止所有正在运行的扫描。
xubuntu:~/AcuAutomate$ ./AcuAutomate.py stop -h
__ _ ___
____ ________ ______ ___ / /_(_) __ _____/ (_)
/ __ `/ ___/ / / / __ \/ _ \/ __/ / |/_/_____/ ___/ / /
/ /_/ / /__/ /_/ / / / / __/ /_/ /> </_____/ /__/ / /
\__,_/\___/\__,_/_/ /_/\___/\__/_/_/|_| \___/_/_/
-: By Danial Halo :-
usage: AcuAutomate.py stop [-h] [-d DOMAIN] [-a]
options:
-h, --help show this help message and exit
-d DOMAIN, --domain DOMAIN
Domain of the scan to stop
-a, --all Stop all Running Scans
请将所有错误、问题、疑问或功能请求提交到 "Issues" 中,或通过 Twitter 发送给我。 @DanialHalo