mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-11-10 17:37:57 -10:00
* feat(protocols): add duration fields to other events
Add matcher and extractor duration data[1] for
DNS, SSL, WHOIS, TCP, WebSocket, and Headless
requests.
Track step durations for TCP inputs, WebSocket
message exchanges, and Headless actions. The
`duration` field holds the most recently measured
operation.
Expose request ID-prefixed duration values through
the existing template context path, and add
protocol tests for duration extraction, aliases,
and request ID handling.
[1]: The data exposed is `duration`, `duration_N`,
`<request-id>_duration`, and
`<request-id>_duration_<N>`.
Closes #5413
Closes #7422
Signed-off-by: Dwi Siswanto <[email protected]>
* test(protocols): added deterministic 10ms test-server delays
Signed-off-by: Dwi Siswanto <[email protected]>
* test: added a shared integration-test delay constant
Signed-off-by: Dwi Siswanto <[email protected]>
---------
Signed-off-by: Dwi Siswanto <[email protected]>
Co-authored-by: Mzack9999 <[email protected]>