mirror of https://github.com/daffainfo/nuclei.git
Merge pull request #1418 from projectdiscovery/fix-whois-custom-server
Add missing custom rdap server assign if present in the templatedev
commit
c39b696559
|
@ -85,6 +85,7 @@ func (request *Request) ExecuteWithResults(input string, dynamicValues, previous
|
|||
query := replacer.Replace(request.Query, variables)
|
||||
// build an rdap request
|
||||
rdapReq := rdap.NewAutoRequest(query)
|
||||
rdapReq.Server = request.parsedServerURL
|
||||
res, err := request.client.Do(rdapReq)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "could not make whois request")
|
||||
|
|
Loading…
Reference in New Issue