Documentation ¶
Index ¶
Constants ¶
View Source
const ( NONE = "none" ALT = "alt" GUESS = "guess" ARCHIVE = "archive" API = "api" AXFR = "axfr" BRUTE = "brute" CERT = "cert" DNS = "dns" EXTERNAL = "ext" SCRAPE = "scrape" )
Request tag types.
View Source
const ( NameRequestTopic = "amass:namereq" NewNameTopic = "amass:newname" AddrRequestTopic = "amass:addrreq" NewAddrTopic = "amass:newaddr" SubDiscoveredTopic = "amass:newsub" ResolveNameTopic = "amass:resolve" NameResolvedTopic = "amass:resolved" ASNRequestTopic = "amass:asnreq" NewASNTopic = "amass:newasn" WhoisRequestTopic = "amass:whoisreq" NewWhoisTopic = "amass:whoisinfo" LogTopic = "amass:log" OutputTopic = "amass:output" SetActiveTopic = "amass:setactive" ResolveCompleted = "amass:resolvecomp" )
Request Pub/Sub topics used across Amass.
Variables ¶
This section is empty.
Functions ¶
func TrustedTag ¶
TrustedTag returns true when the tag parameter is of a type that should be trusted even facing DNS wildcards.
Types ¶
type ASNRequest ¶
type ASNRequest struct { Address string ASN int Prefix string CC string Registry string AllocationDate time.Time Description string Netblocks stringset.Set Tag string Source string }
ASNRequest handles all autonomous system information needed by Amass.
type AddrRequest ¶
AddrRequest handles data needed throughout Service processing of a network address.
type AddressInfo ¶
type AddressInfo struct { Address net.IP `json:"ip"` Netblock *net.IPNet `json:"-"` CIDRStr string `json:"cidr"` ASN int `json:"asn"` Description string `json:"desc"` }
AddressInfo stores all network addressing info for the Output type.
type ContextKey ¶
type ContextKey int
ContextKey is the type used for context value keys.
const ( ContextConfig ContextKey = iota ContextEventBus )
The key used when values are obtained during service requests.
type DNSAnswer ¶
type DNSAnswer struct { Name string `json:"name"` Type int `json:"type"` TTL int `json:"TTL"` Data string `json:"data"` }
DNSAnswer is the type used by Amass to represent a DNS record.
type DNSRequest ¶
DNSRequest handles data needed throughout Service processing of a DNS name.
Click to show internal directories.
Click to hide internal directories.