mirror of https://github.com/daffainfo/nuclei.git
adding dns srv type
parent
721ddda915
commit
2ed33e4723
|
@ -275,6 +275,8 @@ func questionTypeToInt(questionType string) uint16 {
|
|||
question = dns.TypeTLSA
|
||||
case "ANY":
|
||||
question = dns.TypeANY
|
||||
case "SRV":
|
||||
question = dns.TypeSRV
|
||||
}
|
||||
return question
|
||||
}
|
||||
|
|
|
@ -37,6 +37,8 @@ const (
|
|||
TLSA
|
||||
// name:ANY
|
||||
ANY
|
||||
// name:SRV
|
||||
SRV
|
||||
limit
|
||||
)
|
||||
|
||||
|
@ -54,6 +56,7 @@ var DNSRequestTypeMapping = map[DNSRequestType]string{
|
|||
CAA: "CAA",
|
||||
TLSA: "TLSA",
|
||||
ANY: "ANY",
|
||||
SRV: "SRV",
|
||||
}
|
||||
|
||||
// GetSupportedDNSRequestTypes returns list of supported types
|
||||
|
|
Loading…
Reference in New Issue