mirror of https://github.com/daffainfo/nuclei.git
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
parent
8106db68fc
commit
710ac0839c
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue