mirror of https://github.com/daffainfo/nuclei.git
Fixing host skipping error (#3143)
* removed error resulting into excessive error count * banner updatedev
parent
eabd4954cf
commit
2d7948af55
|
@ -32,7 +32,7 @@ type Config struct {
|
|||
const nucleiConfigFilename = ".templates-config.json"
|
||||
|
||||
// Version is the current version of nuclei
|
||||
const Version = `2.8.4`
|
||||
const Version = `2.8.5`
|
||||
|
||||
var customConfigDirectory string
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ func (c *Cache) MarkFailed(value string, err error) {
|
|||
_ = c.failedTargets.Set(finalValue, existingCacheItemValue)
|
||||
}
|
||||
|
||||
var reCheckError = regexp.MustCompile(`(no address found for host|could not connect to any address|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused|context deadline exceeded)`)
|
||||
var reCheckError = regexp.MustCompile(`(no address found for host|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused)`)
|
||||
|
||||
// checkError checks if an error represents a type that should be
|
||||
// added to the host skipping table.
|
||||
|
|
Loading…
Reference in New Issue