Documentation
¶
Index ¶
- func DNSSECCheck(domain string) (bool, error)
- func GetAAAARecords(url string) ([]string, error)
- func GetARecords(url string) ([]string, error)
- func GetCNAME(url string) ([]string, error)
- func GetCertificateWebsite(url string, port int) ([]*x509.Certificate, error)
- func GetMXRecords(url string) ([]string, error)
- func GetNSRecords(url string) ([]string, error)
- func GetPTRRecord(ip string) (string, error)
- func GetTXTRecords(url string) ([]string, error)
- func ScanWhois(domain string) (whoisparser.WhoisInfo, error)
- type CertificateModule
- type DNSModule
- type DNSResults
- type HTTPResponse
- type HeaderModule
- type IPLookupModule
- type IPRangeLookupModule
- type WhoisModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DNSSECCheck ¶
DNSSECCheck checks DNSSEC status for the given domain.
func GetAAAARecords ¶
GetAAAARecords retrieves IPv6 AAAA records for the given URL.
func GetARecords ¶
GetARecords retrieves IPv4 A records for the given URL.
func GetCertificateWebsite ¶
func GetCertificateWebsite(url string, port int) ([]*x509.Certificate, error)
GetCertificateWebsite returns the certificate of a website
func GetMXRecords ¶
GetMXRecords retrieves MX (Mail Exchange) records for the given URL.
func GetNSRecords ¶
GetNSRecords retrieves NS (Name Server) records for the given URL.
func GetPTRRecord ¶
GetPTRRecord retrieves PTR (reverse DNS) record for a given IP.
func GetTXTRecords ¶
GetTXTRecords retrieves TXT records (SPF, DKIM, DMARC, etc.).
Types ¶
type CertificateModule ¶
type CertificateModule struct{}
func (*CertificateModule) Name ¶
func (m *CertificateModule) Name() string
type DNSResults ¶
type DNSResults struct {
CNAME []string
ARecords []string
AAAARecords []string
MXRecords []string
NSRecords []string
TXTRecords []string
PTRRecord string
DNSSEC bool
}
DNSResults holds comprehensive DNS scan results.
type HTTPResponse ¶
type HeaderModule ¶
type HeaderModule struct{}
func (*HeaderModule) Name ¶
func (m *HeaderModule) Name() string
type IPLookupModule ¶
type IPLookupModule struct{}
IPLookupModule implements LookupModule
func (*IPLookupModule) Name ¶
func (m *IPLookupModule) Name() string
type IPRangeLookupModule ¶
type IPRangeLookupModule struct{}
IPRangeLookupModule implements LookupModule
func (*IPRangeLookupModule) Name ¶
func (m *IPRangeLookupModule) Name() string
type WhoisModule ¶
type WhoisModule struct{}
func (*WhoisModule) Name ¶
func (m *WhoisModule) Name() string
Click to show internal directories.
Click to hide internal directories.