2024-02-16 03:24:06 +11:00
# nuclei
> Fast and customizable vulnerability scanner based on a simple YAML based DSL.
2025-05-03 11:56:14 +03:00
> More information: <https://docs.projectdiscovery.io/tools/nuclei/running>.
2024-02-16 03:24:06 +11:00
2024-08-25 01:33:33 +10:00
- [u]pdate `nuclei` [t]emplates to the latest released version (will be downloaded to `~/nuclei-templates` ):
2024-02-16 03:24:06 +11:00
2025-05-03 11:56:14 +03:00
`nuclei {{[-ut|-update-templates]}}`
2024-02-16 03:24:06 +11:00
- [l]ist all [t]emplates with a specific [p]rotocol [t]ype:
2025-05-03 11:56:14 +03:00
`nuclei -tl {{[-pt|-type]}} {{dns|file|http|headless|tcp|workflow|ssl|websocket|whois|code|javascript}}`
2024-02-16 03:24:06 +11:00
- Run an [a]utomatic web [s]can using wappalyzer technology detection specifying a target [u]RL/host to scan:
2025-05-03 11:56:14 +03:00
`nuclei {{[-as|-automatic-scan]}} {{[-u|-target]}} {{scanme.nmap.org}}`
2024-02-16 03:24:06 +11:00
- Run HTTP [p]rotocol [t]ype templates of high and critical severity, [e]xporting results to [m]arkdown files inside a specific directory:
2025-05-03 11:56:14 +03:00
`nuclei {{[-s|-severity]}} high,critical {{[-pt|-type]}} http {{[-u|-target]}} {{http://scanme.sh}} {{[-me|-markdown-export]}} {{markdown_directory}}`
2024-02-16 03:24:06 +11:00
- Run all templates using a different [r]ate [l]imit and maximum [b]ulk [s]ize with silent output (only showing the findings):
2025-05-03 11:56:14 +03:00
`nuclei {{[-rl|-rate-limit]}} {{150}} {{[-bs|-bulk-size]}} {{25}} {{[-c|-concurrency]}} {{25}} -silent {{[-u|-target]}} {{http://scanme.sh}}`
2024-02-16 03:24:06 +11:00
- Run the WordPress [w]orkflow against a WordPress site:
2025-05-03 11:56:14 +03:00
`nuclei {{[-w|-workflows]}} {{path/to/nuclei-templates/workflows/wordpress-workflow.yaml}} {{[-u|-target]}} {{https://sample.wordpress.site}}`
2024-02-16 03:24:06 +11:00
- Run one or more specific [t]emplates or directory with [t]emplates with [v]erbose output in `stderr` and [o]utput detected issues/vulnerabilities to a file:
2025-05-03 11:56:14 +03:00
`nuclei {{[-t|-templates]}} {{path/to/nuclei-templates/http}} {{[-u|-target]}} {{http://scanme.sh}} {{[-v|-verbose]}} {{[-o|-output]}} {{results}}`
2024-02-16 03:24:06 +11:00
- Run scan based on one or more [t]emplate [c]onditions:
2025-05-03 11:56:14 +03:00
`nuclei {{[-tc|-template-condition]}} "{{contains(tags, 'xss') && contains(tags, 'cve')}}" {{[-u|-target]}} {{https://vulnerable.website}}`