跳到內容

工具目錄

以下列出的所有工具均在 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 評估框架,可將 payload 透過多種編碼器(URL、Base64、JSUnicode)及放置區域(body、header、URL 參數、cookie)進行組合測試。waf-bypass(由 Nemesida 開發)則以 Base64、HTML-ENTITY 及 UTF-16 編碼方式,跨 ARGS、BODY、COOKIE 及 HEADER 區域發送 payload。

工具安裝方式範例指令使用套件
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)整理的精選多編碼攻擊 payload,涵蓋十六進位、八進位、Unicode、HTML 實體、雙重 URL 編碼及 JSFuck 等變體。

以下工具僅在 tool_tier = "full" 時安裝:

工具安裝方式範例指令使用套件
ZAP (OWASP Zed Attack Proxy)ghlatestzap-cli quick-scan -s all -r https://TARGETweb-app-attacks
Metasploit Frameworkinstaller scriptmsfconsole -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 期間執行廠商提供的安裝腳本