You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using nuclei as an SDK
I want to use ThreadSafeNucleiEngine with a lower MaxHostError and Timeout value than the default config but when I use the WithNetworkConfig() option I get an error "Option WithNetworkConfig not supported in thread safe mode". These two options I want to change would be applied when the ThreadSafeNucleiEngine is initialized and I don't think changing them would cause issues with threadsafety.
Describe the use case of the feature
Lowering MaxHostError and Timeout allows me to tweak nuclei's performance to my needs.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
I would also like to be able to use my own interactsh server using the threadsafe engine but it has the same problem as the networkconfig.
In the case of the interactsh config it seems the config would get used when NucleiEngine.init() is called in NewThreadSafeNucleiEngineCtx when the interactshClient get initialized. The client is only closed when the ThreadSafeNucleiEngine is closed.
So effectively it would be safe to use interactsh opt in NewThreadSafeNucleiEngineCtx() but not in ExecuteNucleiWithOptsCtx().
The same tweak might apply to NetworkConfig, if I could use it to set the baseOpts when NewThreadSafeNucleiEngineCtx() is called and not allow using it when ExecuteNucleiWithOptsCtx() is called I think it would be safe?
Describe your feature request
I am using nuclei as an SDK
I want to use ThreadSafeNucleiEngine with a lower MaxHostError and Timeout value than the default config but when I use the WithNetworkConfig() option I get an error "Option WithNetworkConfig not supported in thread safe mode". These two options I want to change would be applied when the ThreadSafeNucleiEngine is initialized and I don't think changing them would cause issues with threadsafety.
Describe the use case of the feature
Lowering MaxHostError and Timeout allows me to tweak nuclei's performance to my needs.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: