Adds support for loading scan configuration via a YAML config file.
Users can now run:
nuclei -config config.yaml
The config file can include targets, template options, and other runtime flags.
CLI flags override config values to preserve existing behavior.
Example config.yaml:
name: test-scan list:
Command:
nuclei -config config.yaml
Targets and options are successfully loaded from the config file.
Added tests in config_extras_test.go to validate config parsing and option merging.
/claim #5567 Fixes #5567
Harsh Singh
@singhharsh1708
ProjectDiscovery
@projectdiscovery
starmovie12
@starmovie12