mirror of https://github.com/daffainfo/nuclei.git
Do not show AND matcher information in the command line output if debug is not enabled #1081
* integration test fixdev
parent
435ec5cd5d
commit
d88ed67d2c
|
@ -82,7 +82,14 @@ func (h *networkMultiStep) Execute(filePath string) error {
|
||||||
if routerErr != nil {
|
if routerErr != nil {
|
||||||
return routerErr
|
return routerErr
|
||||||
}
|
}
|
||||||
if len(results) != 3 {
|
|
||||||
|
var expectedResultsSize int
|
||||||
|
if debug {
|
||||||
|
expectedResultsSize = 3
|
||||||
|
} else {
|
||||||
|
expectedResultsSize = 1
|
||||||
|
}
|
||||||
|
if len(results) != expectedResultsSize {
|
||||||
return errIncorrectResultsCount(results)
|
return errIncorrectResultsCount(results)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue