Documentation
¶
Index ¶
- func Append(dest string, src string) (err error)
- func CleanWorkspace(workspace string, whitelist []string) bool
- func CopyDir(src string, dest string) (err error)
- func CopyFile(src string, dest string) (err error)
- func ExpandCIDR(cidr, outputPath string) error
- func ExtractDomain(inputPath, outputPath string) error
- func ExtractNmapIP(src, dest string)
- func LookupPTR(ip, outputPath string) error
- func ResolveDNS(hostname, outputPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanWorkspace ¶
func ExpandCIDR ¶
ExpandCIDR expands a CIDR range into individual host IPs and writes them to outputPath.
func ExtractDomain ¶
ExtractDomain reads hostnames from inputPath, extracts the registered domain (eTLD+1) from each using the Public Suffix List, deduplicates, and writes to outputPath. Example: "217.232.156.77.rev.sfr.net" → "sfr.net"
func ExtractNmapIP ¶
func ExtractNmapIP(src, dest string)
func LookupPTR ¶
LookupPTR performs a reverse DNS lookup on an IP and writes hostnames to outputPath.
func ResolveDNS ¶
ResolveDNS resolves a hostname to its IP addresses and writes them to outputPath.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.