We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In NetworkConfig struct: lib/config.go:270, DisableMaxHostErr is not used anywhere. So it's not effected even though we set it to true.
If DisableMaxHostErr is true, sdk should not skip the host.
package main import ( "context" nuclei "github.com/projectdiscovery/nuclei/v3/lib" ) func main() { ne, err := nuclei.NewNucleiEngineCtx(context.Background(), nuclei.WithNetworkConfig( nuclei.NetworkConfig{ DisableMaxHostErr: true, MaxHostError: 30, Retries: 0, SystemResolvers: true, Timeout: 5, }, ), ) if err != nil { panic(err) } ne.LoadTargets([]string{"http://xxx.xxx"}, false) // the target is not real alive err = ne.ExecuteCallbackWithCtx(context.Background()) if err != nil { panic(err) } }
No response
The text was updated successfully, but these errors were encountered:
iuliu8899
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Current Behavior
In NetworkConfig struct: lib/config.go:270, DisableMaxHostErr is not used anywhere. So it's not effected even though we set it to true.
Expected Behavior
If DisableMaxHostErr is true, sdk should not skip the host.
Steps To Reproduce
Relevant log output
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: