mirror of https://github.com/daffainfo/nuclei.git
commit
9bf2ec09fc
|
@ -226,6 +226,8 @@ func questionTypeToInt(questionType string) uint16 {
|
|||
question = dns.TypeCAA
|
||||
case "TLSA":
|
||||
question = dns.TypeTLSA
|
||||
case "ANY":
|
||||
question = dns.TypeANY
|
||||
}
|
||||
return question
|
||||
}
|
||||
|
|
|
@ -35,6 +35,8 @@ const (
|
|||
CAA
|
||||
// name:TLSA
|
||||
TLSA
|
||||
// name:ANY
|
||||
ANY
|
||||
limit
|
||||
)
|
||||
|
||||
|
@ -51,6 +53,7 @@ var DNSRequestTypeMapping = map[DNSRequestType]string{
|
|||
AAAA: "AAAA",
|
||||
CAA: "CAA",
|
||||
TLSA: "TLSA",
|
||||
ANY: "ANY",
|
||||
}
|
||||
|
||||
// GetSupportedDNSRequestTypes returns list of supported types
|
||||
|
|
Loading…
Reference in New Issue