How nuclei RPS mechanism works? #4757
-
When scanning specific target (only single host), nuclei gradually dropped the RPS and it eventually reach ~5 RPS. This is very bad because the scan would take more than 1 hour to complete. My questions are as follows:
Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hey @Merricx I'm also having this same problem lately, the RPS quickly dropped in 4-5 seconds at start, from average 150 RPS down to 5-6 RPS which is very slow. Have you compare it with other tools? |
Beta Was this translation helpful? Give feedback.
-
is the normal ping request to the target also slowed down after some time ? |
Beta Was this translation helpful? Give feedback.
-
@Merricx . There are some known issues with stats #4434 . example some templates outgoing request count is not fixed ( changes on template logic / depends on condition) . this is currently not reflected in stats i.e why scan percentage is not 💯 accurate (currently) Change in RPS is mainly due to target & template (protocol type) . when scan is first started RPS will be over 300 or even more depending on target count , this is because finally about low RPS in the end is usually because of slow / high latency targets or templates that send more than one request or due to retries on unresponsive hosts etc other than that ratelimit values also directly affects stats in case of http templates RPS Range directly depends on concurrency , checkout docs on mass scanning which provides insights on concurrency and other options as well https://docs.projectdiscovery.io/tools/nuclei/mass-scanning-cli Note stats percentage may not be accurate but RPS is accurate |
Beta Was this translation helpful? Give feedback.
@Merricx . There are some known issues with stats #4434 .
example some templates outgoing request count is not fixed ( changes on template logic / depends on condition) . this is currently not reflected in stats i.e why scan percentage is not 💯 accurate (currently)
Change in RPS is mainly due to target & template (protocol type) . when scan is first started RPS will be over 300 or even more depending on target count , this is because
dns templates
are lightweight and they complete first , and http protocol and other protocol templates are comparatively heavier than dns i.e why RPS drops or keeps fluctuating.finally about low RPS in the end is usually because of slow / high latency target…