[BUG] Fix target being skipped due to max-host-error #5564
Labels
Priority: High
After critical issues are fixed, these should be dealt with before any further issues.
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Is there an existing issue for this?
Current Behavior
due to a recent updates related to max-host-error and target skipping whenever we run nuclei with concurrency more than the default one nuclei actively skips that targets
The current implementation checks for 30 (fixed) permanent errors in a given time period ( 1 minute ) and if any targets satisfy this criteria then it is actively skipped,
when nuclei is run with default values there is no max-host-error or skipping but this can be seen as soon as concurrency is increased. so instead of hardcoding it to 30 we should set its value to the value of concurrency flag and timeperiod can also be set to 1.5 x -timeout flag value
Expected Behavior
no skipping of targets when its intentional / expected to have some errors
Steps To Reproduce
Relevant log output
No response
Environment
Anything else?
The text was updated successfully, but these errors were encountered: