Nuclei Cheat Sheet
Template-based fast scanner for CVEs, misconfigs, and exposures across HTTP, DNS, and more.
Overview
Nuclei runs YAML templates against URLs, IPs, and other inputs to detect known vulnerabilities, misconfigurations, and security exposures. It scales well after asset discovery (httpx, subfinder) and integrates into CI and bug bounty pipelines.
Authorized testing only. Templates can be intrusive (RCE checks, fuzzing). Use tagged subsets, rate limits, and scope files on production.
Install
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latestnuclei -update-templatesnuclei -versionEssential commands
Single URL, default templates
nuclei -u https://target.example.comList of targets
nuclei -l urls.txtSeverity filter
nuclei -l urls.txt -severity critical,highSpecific tags
nuclei -l urls.txt -tags cve,exposureCommon workflows
Post-httpx scanning —
httpx -l subs.txt -silent -o live.txtnuclei -l live.txt -severity medium,high,critical -o nuclei_findings.txtTargeted CVE / technology —
nuclei -u https://target.example.com -tags apache -severity high,criticalnuclei -l urls.txt -t cves/2024/Rate limit and resume —
nuclei -l urls.txt -rl 50 -c 25 -resume -o results.txtHeadless / workflows (when configured) —
nuclei -u https://target.example.com -headless -tags headlessCustom template —
nuclei -u https://target.example.com -t ./custom-template.yamlFlags reference
-u | Single target URL |
|---|---|
-l | Target list file |
-t | Template path or directory |
-tags | Run templates with tags |
-severity | info, low, medium, high, critical |
-o | Output file |
-jsonl | JSON lines export |
-c | Concurrency |
-rl | Rate limit (req/s) |
-H | Custom header |
-header | Header from file |
-proxy | HTTP/SOCKS proxy |
-silent | Findings only |
-stats | Show scan statistics |
-update-templates | Update template repo |
Tips
- Run nuclei -update-templates regularly; template quality varies—validate critical hits manually.
- Start with -severity high,critical on large lists, then widen.
- Use -tags to avoid destructive checks until approved (rce, dos, etc.).
- Store outputs as JSONL for jq filtering and report automation.
- Respect -rl on shared infrastructure and WAF-fronted sites.