Documentation
¶
Index ¶
- Constants
- Variables
- func CleanDomain(host string) string
- func ColorLevel(level string) string
- func ExpandIPRange(ipOrNet string) []string
- func FormatOutput(platform string, domains, ips []string, logToFile bool, ...)
- func GetDNSDumpsterKey() string
- func GetFOFAKey() string
- func GetFOFAQuery() string
- func GetShodanKey() string
- func GetVirusTotalKey() string
- func IsIPInNetworks(ip string, networks []string) bool
- func IsValidDomain(host string) bool
- func IsValidIP(ip string) bool
- func Timestamp() string
- type AssetLogger
Constants ¶
View Source
const ( DefaultThreads = 200 DNSTimeout = 5 * time.Second )
Variables ¶
View Source
var ( ErrorPrintf = color.Red WarnPrintf = color.Yellow InfoPrintf = color.Cyan SuccessPrintf = color.Green )
View Source
var DefaultNameservers = []string{"8.8.8.8:53", "1.1.1.1:53"}
Functions ¶
func CleanDomain ¶
func ColorLevel ¶
func ExpandIPRange ¶
func FormatOutput ¶
func GetDNSDumpsterKey ¶
func GetDNSDumpsterKey() string
func GetFOFAKey ¶
func GetFOFAKey() string
func GetFOFAQuery ¶
func GetFOFAQuery() string
func GetShodanKey ¶
func GetShodanKey() string
func GetVirusTotalKey ¶
func GetVirusTotalKey() string
func IsIPInNetworks ¶
func IsValidDomain ¶
Types ¶
type AssetLogger ¶
type AssetLogger struct {
// contains filtered or unexported fields
}
func SetupLogger ¶
func SetupLogger(platform string, logToFile bool, domain, timestamp string) *AssetLogger
func (*AssetLogger) Close ¶
func (l *AssetLogger) Close()
func (*AssetLogger) Error ¶
func (l *AssetLogger) Error(format string, args ...interface{})
func (*AssetLogger) Host ¶
func (l *AssetLogger) Host(domain string)
func (*AssetLogger) IP ¶
func (l *AssetLogger) IP(ip string)
func (*AssetLogger) Info ¶
func (l *AssetLogger) Info(format string, args ...interface{})
func (*AssetLogger) Warn ¶
func (l *AssetLogger) Warn(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.