mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 04:45:27 +00:00
add dns protocol ratelimit (#2763)
* add dns protocol ratelimit * move dns ratelimit to just before sending the request
This commit is contained in:
parent
74bd89dec6
commit
e163a301b9
@ -87,6 +87,8 @@ func (request *Request) ExecuteWithResults(input *contextargs.Context, metadata,
|
||||
}
|
||||
}
|
||||
|
||||
request.options.RateLimiter.Take()
|
||||
|
||||
// Send the request to the target servers
|
||||
response, err := dnsClient.Do(compiledRequest)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user