projectdiscovery / nuclei

Fast and customizable vulnerability scanner based on simple YAML based DSL.
https://docs.projectdiscovery.io/tools/nuclei
MIT License
18.39k stars 2.34k forks source link

add option to load template profile. #5113

Closed ehsandeep closed 2 months ago

ehsandeep commented 2 months ago
   -tp, -profile string              template profile config file to run
   -tpl, -profile-list               list community template profiles

EXAMPLE Runs:

nuclei -profile profiles/aws-cloud-config.yml # loads profile from installed template directory
nuclei -profile aws-cloud-config # loads profile from installed template directory using file name as id
nuclei -profile /Users/geekboy/profiles/custom_profile.yml # loads profile based on given config file
./nuclei -tpl

profiles/aws-cloud-config.yml (aws-cloud-config)
profiles/bugbounty.yml (bugbounty)
profiles/cloud.yml (cloud)
profiles/compliance.yml (compliance)
profiles/osint.yml (osint)
profiles/pentest.yml (pentest)
profiles/privilege-escalation.yml (privilege-escalation)
profiles/recommended.yml (recommended)
princechaddha commented 2 months ago

can add -tpl, -profiles-list similar to -tl for listing down all the available profiles from ~/nuclei-templates/profiles