跳转到内容

工具目录

以下所有工具均在 cloud-init 预配置阶段预先安装。部署完成后无需手动安装。

工具安装方式示例命令所用套件
niktoaptnikto -h https://TARGET -maxtime 120sweb-app-attacks
sqlmapaptsqlmap --batch -u "https://TARGET/dvwa/vulnerabilities/sqli/?id=1"web-app-attacks, api-attacks
nucleighlatestnuclei -u https://TARGET -severity medium,high,criticalweb-app-attacks
dalfoxghlatestdalfox url "https://TARGET/search?q=test" --silenceweb-app-attacks
ffufghlatestffuf -u https://TARGET/FUZZ -w wordlist.txt -mc all -fc 404api-attacks
gobusterghlatestgobuster dir -u https://TARGET -w /opt/SecLists/Discovery/Web-Content/common.txtreconnaissance
feroxbusterghlatestferoxbuster -u https://TARGET -w /opt/SecLists/Discovery/Web-Content/raft-medium-directories.txtreconnaissance
dirbaptdirb https://TARGET /usr/share/dirb/wordlists/common.txtreconnaissance
whatwebaptwhatweb https://TARGETreconnaissance
wfuzzpipwfuzz -c -z file,wordlist.txt -e urlencode,double_urlencode "https://TARGET/FUZZ"waf-encoding-evasion
工具安装方式示例命令所用套件
gotestwafgo installcd /opt/gotestwaf && gotestwaf --url https://TARGET --noEmailReport --includePayloads=falsewaf-encoding-evasion
waf-bypassgit clone + pipwaf-bypass --host TARGET:443 --timeout 10 --threads 10waf-encoding-evasion

GoTestWAF(由 Wallarm 开发)是业界标准的 WAF 评估框架,可将载荷与多种编码器(URL、Base64、JSUnicode)和放置区域(body、header、URL 参数、cookie)进行组合测试。waf-bypass(由 Nemesida 开发)通过 ARGS、BODY、COOKIE 和 HEADER 区域发送经 Base64、HTML-ENTITY 和 UTF-16 编码的载荷。

工具安装方式示例命令所用套件
nmapaptnmap -sV -sC -p 80,443 TARGET_IPreconnaissance
masscanaptmasscan TARGET_IP -p 1-1000 --rate=1000reconnaissance
tsharkapttshark -i eth0 -c 100 -f "host TARGET_IP"
hping3apthping3 -S -p 443 -c 10 TARGET_IPreconnaissance
tcpdumpapttcpdump -i eth0 -c 50 host TARGET_IP
netcataptnc -zv TARGET_IP 80 443reconnaissance
ngrepaptngrep -q -d eth0 "HTTP" host TARGET_IP
iperf3aptiperf3 -c TARGET_IP -p 5201 -t 10traffic-generation
mtraptmtr --report TARGET_IPreconnaissance
工具安装方式示例命令所用套件
sslscanaptsslscan TARGET:443ssl-scanning
sslyzeuvsslyze TARGET:443ssl-scanning
testssl.shgit clone/opt/testssl.sh/testssl.sh TARGET:443ssl-scanning
工具安装方式示例命令所用套件
mitmproxyuvmitmproxy --mode reverse:https://TARGET -p 8080
socataptsocat TCP-LISTEN:8080,fork TCP:TARGET:443
工具安装方式示例命令所用套件
playwrightnpm + uvplaywright open https://TARGETbot-simulation, javascript-exploits
puppeteernpmnode -e "const b=await require('puppeteer').launch(); ..."bot-simulation
puppeteer-extra-plugin-stealthnpm作为 Puppeteer 插件用于隐身浏览bot-simulation

Playwright 通过 playwright install chromium 安装其自带的 Chromium 二进制文件。Puppeteer 在可能的情况下使用相同的系统 Chromium。

工具安装方式示例命令所用套件
subfinderghlatestsubfinder -d example.com -silentreconnaissance
httpxghlatest`echo TARGEThttpx -status-code -title`
amassghlatestamass enum -passive -d example.comreconnaissance
dnsreconuvdnsrecon -d example.com -t stdreconnaissance
fierceuvfierce --domain example.comreconnaissance
whoisaptwhois example.comreconnaissance
dnsutils(dig、nslookup)aptdig TARGET +shortreconnaissance
工具安装方式示例命令所用套件
hydraapthydra -l admin -P /opt/SecLists/Passwords/Common-Credentials/10-million-password-list-top-100.txt TARGET https-post-form "/dvwa/login.php:..."web-app-attacks
medusaaptmedusa -h TARGET -u admin -P passwords.txt -M httpweb-app-attacks
ncrackaptncrack -vv --user admin -P passwords.txt TARGET:443web-app-attacks
工具安装方式示例命令所用套件
scapypippython3 -c "from scapy.all import *; sr1(IP(dst='TARGET')/TCP(dport=443,flags='S'))"reconnaissance
impacketpippython3 -m impacket.smbclient TARGETreconnaissance
arjunpiparjun -u https://TARGET/endpointapi-attacks
pwntoolspippython3 -c "from pwn import *; r=remote('TARGET',443)"
hashidpiphashid 'HASH_VALUE'
theHarvesteruvtheHarvester -d example.com -b allreconnaissance
工具安装方式位置所用套件
recon-nggit clone/opt/recon-ng/reconnaissance
spiderfootgit clone/opt/spiderfoot/reconnaissance
SecListsgit clone/opt/SecLists/web-app-attacks, api-attacks, reconnaissance
PayloadsAllTheThingsgit clone/opt/PayloadsAllTheThings/waf-encoding-evasion
waf-bypass payloadsgit clone/opt/waf-bypass/waf-encoding-evasion

SecLists 提供多个工具所使用的字典,包括 ffuf、gobuster、feroxbuster、dirb 和 hydra。PayloadsAllTheThings 提供按攻击类别(XSS、SQLi、XXE)整理的精选多编码攻击载荷,涵盖十六进制、八进制、Unicode、HTML 实体、双重 URL 编码和 JSFuck 变体。

以下工具仅在 tool_tier = "full" 时安装:

工具安装方式示例命令所用套件
ZAP(OWASP Zed Attack Proxy)ghlatestzap-cli quick-scan -s all -r https://TARGETweb-app-attacks
Metasploit Framework安装脚本msfconsole -q -x "use auxiliary/scanner/http/http_version; set RHOSTS TARGET; run; exit"reconnaissance
方式说明
apt通过 apt-get install 从 Ubuntu 24.04 APT 软件源安装
ghlatest使用 ghlatest.shinstall-release.sh 从 GitHub Releases 下载最新二进制文件
uv使用 uv 包管理器作为 Python 工具安装
pip使用 pip install 作为 Python 包安装到系统 Python 环境
npm使用 npm install -g 作为全局 Node.js 包安装
go install使用 go install 从源码编译并安装到 /usr/local/bin
git clone将仓库克隆到 /opt/ 目录
git clone + pip克隆仓库并安装 Python 依赖项
installer script在 cloud-init 期间执行供应商提供的安装脚本