chore(fix): Ensure proper scanning strategy (#3464)

This will ensure that the host spray scanning strategy will actually
run rather than the system exiting quickly if that strategy is
applied. Once merged, this will resolve projectdiscovery/nuclei#3463.
dev
Jonathan Steele 2023-03-23 12:23:17 -04:00 committed by GitHub
parent 8106db68fc
commit 710ac0839c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func (e *Engine) ExecuteScanWithOpts(templatesList []*templates.Template, target
switch e.options.ScanStrategy {
case scanstrategy.TemplateSpray.String():
strategyResult = e.executeTemplateSpray(filtered, target)
case scanstrategy.TemplateSpray.String():
case scanstrategy.HostSpray.String():
strategyResult = e.executeHostSpray(filtered, target)
}