mirror of https://github.com/daffainfo/nuclei.git
Fix the bug that nuclei keeps scanning for http connection failures (#4265)
* misc update * Fix the bug that nuclei keeps scanning for http connection failures * Adding common error messages * remove --------- Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com> Co-authored-by: Wing <taiyuan.yang@shopee.com>dev
parent
7cd340b29a
commit
b633ef63dc
|
@ -124,7 +124,7 @@ func (c *Cache) MarkFailed(value string, err error) {
|
|||
_ = c.failedTargets.Set(finalValue, existingCacheItemValue)
|
||||
}
|
||||
|
||||
var reCheckError = regexp.MustCompile(`(no address found for host|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused)`)
|
||||
var reCheckError = regexp.MustCompile(`(no address found for host|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused|connection reset by peer)`)
|
||||
|
||||
// checkError checks if an error represents a type that should be
|
||||
// added to the host skipping table.
|
||||
|
|
Loading…
Reference in New Issue