osint

package
v0.0.0-...-0316dc9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

© 2022 OSINT Fingerprint Project Contributors

Index

Constants

View Source
const TRAVEL_MILES_THRESHOLD = 1000
View Source
const TRAVEL_TIME_THRESHOLD = 24

Variables

This section is empty.

Functions

func ContactMx

func ContactMx(host string, domain string, email string, timeout time.Duration) error

func CreateDB

func CreateDB(name string) error

func Cron

func Cron(sleep time.Duration, dc OSINTSignalHandler)

func Distance

func Distance(lat1 float64, lng1 float64, lat2 float64, lng2 float64, unit rune) float64

func DownloadFile

func DownloadFile(client *resty.Client, url string, fileName string) error

func FindFile

func FindFile(directory, extension string) ([]string, error)

func FindLatestDbFile

func FindLatestDbFile(dbPath string, fileExtension string) (string, error)

func GetContent

func GetContent(client *resty.Client, url string) ([]byte, int, error)

func GetDSN

func GetDSN() string

func GetDaysFromDate

func GetDaysFromDate(date string) int

FORMAT: YYYY-MM-DD

func GetEmailServerScrubbers

func GetEmailServerScrubbers() ([]string, []string, []string, []string)

TODO: this needs some love, need to run a bunch of popular domains through the scrubber and

do some Googling on what type of service each mail server really is

func Getenv

func Getenv(key, def string) string

func Ip2Int

func Ip2Int(ip net.IP) int

func LogError

func LogError(source string, err error)

func LogErrorWithMessage

func LogErrorWithMessage(source string, msg string, err error)

func ResolveMx

func ResolveMx(domain string) (string, error)

func UnGzipFile

func UnGzipFile(gzipPath, gzipFile, outputPath string) error

func UnTarFile

func UnTarFile(tarFile, destination string) error

func UnzipFile

func UnzipFile(zipFile, destination string) error

Types

type AWSInfo

type AWSInfo struct {
	IpAddress   string
	IsCloudNode bool
}

type AmazonWebServices

type AmazonWebServices struct {
	// contains filtered or unexported fields
}

func NewAWS

func NewAWS() *AmazonWebServices

func (AmazonWebServices) GetDomainInfo

func (x AmazonWebServices) GetDomainInfo(domain string) (json.RawMessage, error)

func (AmazonWebServices) GetEmailInfo

func (x AmazonWebServices) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (AmazonWebServices) GetIpInfo

func (x AmazonWebServices) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (AmazonWebServices) GetLoginInfo

func (x AmazonWebServices) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (AmazonWebServices) GetName

func (x AmazonWebServices) GetName() string

func (AmazonWebServices) GetPhoneInfo

func (x AmazonWebServices) GetPhoneInfo(phone string) (json.RawMessage, error)

func (AmazonWebServices) Init

func (x AmazonWebServices) Init()

func (AmazonWebServices) IsAWS

func (x AmazonWebServices) IsAWS(ip net.IP) bool

func (AmazonWebServices) Refresh

func (x AmazonWebServices) Refresh() error

func (AmazonWebServices) RefreshCronJob

func (x AmazonWebServices) RefreshCronJob()

type ApiVoid

type ApiVoid struct {
	// contains filtered or unexported fields
}

func NewApiVoid

func NewApiVoid() *ApiVoid

func (ApiVoid) GetDomainInfo

func (x ApiVoid) GetDomainInfo(domain string) (json.RawMessage, error)

func (ApiVoid) GetEmailInfo

func (x ApiVoid) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (ApiVoid) GetIpInfo

func (x ApiVoid) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (ApiVoid) GetLoginInfo

func (x ApiVoid) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (ApiVoid) GetName

func (x ApiVoid) GetName() string

func (ApiVoid) GetPhoneInfo

func (x ApiVoid) GetPhoneInfo(phone string) (json.RawMessage, error)

func (ApiVoid) Init

func (x ApiVoid) Init()

func (ApiVoid) Refresh

func (x ApiVoid) Refresh() error

func (ApiVoid) RefreshCronJob

func (x ApiVoid) RefreshCronJob()

type Blacklist

type Blacklist struct {
	// contains filtered or unexported fields
}

func NewBlacklist

func NewBlacklist() *Blacklist

func (Blacklist) GetDomainInfo

func (x Blacklist) GetDomainInfo(domain string) (json.RawMessage, error)

func (Blacklist) GetEmailInfo

func (x Blacklist) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Blacklist) GetIpInfo

func (x Blacklist) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Blacklist) GetLoginInfo

func (x Blacklist) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Blacklist) GetName

func (x Blacklist) GetName() string

func (Blacklist) GetPhoneInfo

func (x Blacklist) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Blacklist) Init

func (x Blacklist) Init()

func (Blacklist) IsListed

func (x Blacklist) IsListed(servers []string, host string) int

func (Blacklist) Refresh

func (x Blacklist) Refresh() error

func (Blacklist) RefreshCronJob

func (x Blacklist) RefreshCronJob()

type BlacklistDomainInfo

type BlacklistDomainInfo struct {
	Domain         string
	BlacklistCount int
	IsBlacklisted  bool
	IsValidDNS     bool
	IsNewDomain    bool
	IsSpamDomain   bool
}

type BlacklistIpInfo

type BlacklistIpInfo struct {
	IpAddress      string
	BlacklistCount int
	IsBlacklisted  bool
	IsBot          bool
	IsRelay        bool
	IsMalicious    bool
	IsProxy        bool
	IsSpam         bool
	IsIOT          bool
	IsBadISP       bool
}

type CountryInfo

type CountryInfo struct {
	IpStart     int
	IpStop      int
	CountryCode string
}

type DBIP

type DBIP struct {
	// contains filtered or unexported fields
}

func NewDBIP

func NewDBIP() *DBIP

func (DBIP) GetDomainInfo

func (x DBIP) GetDomainInfo(domain string) (json.RawMessage, error)

func (DBIP) GetEmailInfo

func (x DBIP) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (DBIP) GetIpInfo

func (x DBIP) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (DBIP) GetLoginInfo

func (x DBIP) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (DBIP) GetName

func (x DBIP) GetName() string

func (DBIP) GetPhoneInfo

func (x DBIP) GetPhoneInfo(phone string) (json.RawMessage, error)

func (DBIP) Init

func (x DBIP) Init()

func (DBIP) Refresh

func (x DBIP) Refresh() error

func (DBIP) RefreshCronJob

func (x DBIP) RefreshCronJob()

type DanMeUk

type DanMeUk struct {
	// contains filtered or unexported fields
}

func NewDanMeUk

func NewDanMeUk() *DanMeUk

func (DanMeUk) GetDomainInfo

func (x DanMeUk) GetDomainInfo(domain string) (json.RawMessage, error)

func (DanMeUk) GetEmailInfo

func (x DanMeUk) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (DanMeUk) GetIpInfo

func (x DanMeUk) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (DanMeUk) GetLoginInfo

func (x DanMeUk) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (DanMeUk) GetName

func (x DanMeUk) GetName() string

func (DanMeUk) GetPhoneInfo

func (x DanMeUk) GetPhoneInfo(phone string) (json.RawMessage, error)

func (DanMeUk) Init

func (x DanMeUk) Init()

func (DanMeUk) Refresh

func (x DanMeUk) Refresh() error

NOTE: Dan gets angry if you try to download his Tor lists more than once an hour... so hop

on a new VPN connection if you are testing and get blacklisted

func (DanMeUk) RefreshCronJob

func (x DanMeUk) RefreshCronJob()

type DanMeUkInfo

type DanMeUkInfo struct {
	IpAddress string
	IsTorNode bool
	IsTorExit bool
}

type DbIpInfo

type DbIpInfo struct {
	City struct {
		GeonameID int `json:"geoname_id"`
		Names     struct {
			En   string `json:"en"`
			ZhCN string `json:"zh-CN"`
		} `json:"names"`
	} `json:"city"`
	Continent struct {
		Code      string `json:"code"`
		GeonameID int    `json:"geoname_id"`
		Names     struct {
			De   string `json:"de"`
			En   string `json:"en"`
			Es   string `json:"es"`
			Fa   string `json:"fa"`
			Fr   string `json:"fr"`
			Ja   string `json:"ja"`
			Ko   string `json:"ko"`
			PtBR string `json:"pt-BR"`
			Ru   string `json:"ru"`
			ZhCN string `json:"zh-CN"`
		} `json:"names"`
	} `json:"continent"`
	Country struct {
		GeonameID         int    `json:"geoname_id"`
		IsInEuropeanUnion bool   `json:"is_in_european_union"`
		IsoCode           string `json:"iso_code"`
		Names             struct {
			De   string `json:"de"`
			En   string `json:"en"`
			Es   string `json:"es"`
			Fa   string `json:"fa"`
			Fr   string `json:"fr"`
			Ja   string `json:"ja"`
			Ko   string `json:"ko"`
			PtBR string `json:"pt-BR"`
			Ru   string `json:"ru"`
			ZhCN string `json:"zh-CN"`
		} `json:"names"`
	} `json:"country"`
	Location struct {
		Latitude    float64 `json:"latitude"`
		Longitude   float64 `json:"longitude"`
		TimeZone    string  `json:"time_zone"`
		WeatherCode string  `json:"weather_code"`
	} `json:"location"`
	Subdivisions []struct {
		GeonameID int    `json:"geoname_id"`
		IsoCode   string `json:"iso_code,omitempty"`
		Names     struct {
			En   string `json:"en"`
			Fr   string `json:"fr"`
			ZhCN string `json:"zh-CN"`
		} `json:"names,omitempty"`
	} `json:"subdivisions"`
	Traits struct {
		ConnectionType string `json:"connection_type"`
		Isp            string `json:"isp"`
		Organization   string `json:"organization"`
	} `json:"traits"`
}

type DbIpUpdate

type DbIpUpdate struct {
	Csv struct {
		URL     string `json:"url"`
		Name    string `json:"name"`
		Date    string `json:"date"`
		Size    int64  `json:"size"`
		Rows    int    `json:"rows"`
		Md5Sum  string `json:"md5sum"`
		Sha1Sum string `json:"sha1sum"`
		Version int    `json:"version"`
	} `json:"csv"`
	Mmdb struct {
		URL     string `json:"url"`
		Name    string `json:"name"`
		Date    string `json:"date"`
		Size    int    `json:"size"`
		Rows    int    `json:"rows"`
		Md5Sum  string `json:"md5sum"`
		Sha1Sum string `json:"sha1sum"`
	} `json:"mmdb"`
}

type DeHashed

type DeHashed struct {
	// contains filtered or unexported fields
}

func NewDeHashed

func NewDeHashed() *DeHashed

func (DeHashed) GetDomainInfo

func (x DeHashed) GetDomainInfo(domain string) (json.RawMessage, error)

func (DeHashed) GetEmailInfo

func (x DeHashed) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (DeHashed) GetIpInfo

func (x DeHashed) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (DeHashed) GetLoginInfo

func (x DeHashed) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (DeHashed) GetName

func (x DeHashed) GetName() string

func (DeHashed) GetPhoneInfo

func (x DeHashed) GetPhoneInfo(phone string) (json.RawMessage, error)

func (DeHashed) Init

func (x DeHashed) Init()

func (DeHashed) Refresh

func (x DeHashed) Refresh() error

func (DeHashed) RefreshCronJob

func (x DeHashed) RefreshCronJob()

type DeHashedEntry

type DeHashedEntry struct {
	Balance int `json:"balance"`
	Entries []struct {
		ID             string `json:"id"`
		Email          string `json:"email"`
		IPAddress      string `json:"ip_address"`
		Username       string `json:"username"`
		Password       string `json:"password"`
		HashedPassword string `json:"hashed_password"`
		Name           string `json:"name"`
		Vin            string `json:"vin"`
		Address        string `json:"address"`
		Phone          string `json:"phone"`
		DatabaseName   string `json:"database_name"`
	} `json:"entries"`
	Success bool   `json:"success"`
	Took    string `json:"took"`
	Total   int    `json:"total"`
}

type DeHashedInfo

type DeHashedInfo struct {
	Email       string
	BreachCount int
}

type DomainTools

type DomainTools struct {
	// contains filtered or unexported fields
}

func NewDomainTools

func NewDomainTools() *DomainTools

func (DomainTools) GetDomainInfo

func (x DomainTools) GetDomainInfo(domain string) (json.RawMessage, error)

func (DomainTools) GetEmailInfo

func (x DomainTools) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (DomainTools) GetIpInfo

func (x DomainTools) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (DomainTools) GetLoginInfo

func (x DomainTools) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (DomainTools) GetName

func (x DomainTools) GetName() string

func (DomainTools) GetPhoneInfo

func (x DomainTools) GetPhoneInfo(phone string) (json.RawMessage, error)

func (DomainTools) Init

func (x DomainTools) Init()

func (DomainTools) Refresh

func (x DomainTools) Refresh() error

func (DomainTools) RefreshCronJob

func (x DomainTools) RefreshCronJob()

type DomainToolsEntry

type DomainToolsEntry struct {
	Response struct {
		Registrant   string `json:"registrant"`
		Registration struct {
			Created   string   `json:"created"`
			Expires   string   `json:"expires"`
			Updated   string   `json:"updated"`
			Registrar string   `json:"registrar"`
			Statuses  []string `json:"statuses"`
		} `json:"registration"`
		NameServers []string `json:"name_servers"`
		Whois       struct {
			Date   string `json:"date"`
			Record string `json:"record"`
		} `json:"whois"`
		RecordSource string `json:"record_source"`
	} `json:"response"`
}

type DomainToolsInfo

type DomainToolsInfo struct {
	Domain             string
	DomainAgeDays      int
	DomainAgeYears     int
	DomainAgeDate      string
	IsRegisteredDomain bool
	Registrar          string
}

type EmailVerify

type EmailVerify struct {
}

func NewEmailVerify

func NewEmailVerify() *EmailVerify

func (EmailVerify) GetDomainInfo

func (x EmailVerify) GetDomainInfo(domain string) (json.RawMessage, error)

func (EmailVerify) GetEmailInfo

func (x EmailVerify) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (EmailVerify) GetIpInfo

func (x EmailVerify) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (EmailVerify) GetLoginInfo

func (x EmailVerify) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (EmailVerify) GetName

func (x EmailVerify) GetName() string

func (EmailVerify) GetPhoneInfo

func (x EmailVerify) GetPhoneInfo(phone string) (json.RawMessage, error)

func (EmailVerify) Init

func (x EmailVerify) Init()

func (EmailVerify) Refresh

func (x EmailVerify) Refresh() error

func (EmailVerify) RefreshCronJob

func (x EmailVerify) RefreshCronJob()

type EmailVerifyInfo

type EmailVerifyInfo struct {
	Email             string
	IsValidIcanSuffix bool
	IsResolveable     bool
	IsBadAccount      bool
	IsSmtpVerified    bool
	Reason            string
}

type GNRInfo

type GNRInfo struct {
	Cc   string `json:"cc"`
	Cor  string `json:"cor"`
	Cn   string `json:"cn"`
	Mcc  string `json:"mcc"`
	Mnc  string `json:"mnc"`
	Npdi bool   `json:"npdi"`
	Npi  bool   `json:"npi"`
	Nt   string `json:"nt"`
	Tn   string `json:"tn"`
	Rc   string `json:"rc"`
}

type GreyNoise

type GreyNoise struct {
	// contains filtered or unexported fields
}

func NewGreyNoise

func NewGreyNoise() *GreyNoise

func (GreyNoise) GetDomainInfo

func (x GreyNoise) GetDomainInfo(domain string) (json.RawMessage, error)

func (GreyNoise) GetEmailInfo

func (x GreyNoise) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (GreyNoise) GetIpInfo

func (x GreyNoise) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (GreyNoise) GetLoginInfo

func (x GreyNoise) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (GreyNoise) GetName

func (x GreyNoise) GetName() string

func (GreyNoise) GetPhoneInfo

func (x GreyNoise) GetPhoneInfo(phone string) (json.RawMessage, error)

func (GreyNoise) Init

func (x GreyNoise) Init()

func (GreyNoise) Refresh

func (x GreyNoise) Refresh() error

func (GreyNoise) RefreshCronJob

func (x GreyNoise) RefreshCronJob()

type Hacker

type Hacker struct {
	gorm.Model `json:"-"`
	IpAddr     string `gorm:"index:idx_ip_addr,unique"`
	Country    string
	Attempts   uint
}

type HackerInfo

type HackerInfo struct {
	IpAddr   string
	IsHacker bool
	Country  string
	Attempts uint
}

type Hackers

type Hackers struct {
	// contains filtered or unexported fields
}

func NewHackers

func NewHackers() *Hackers

func (Hackers) GetDomainInfo

func (x Hackers) GetDomainInfo(domain string) (json.RawMessage, error)

func (Hackers) GetEmailInfo

func (x Hackers) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Hackers) GetIpInfo

func (x Hackers) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Hackers) GetLoginInfo

func (x Hackers) GetLoginInfo(ea *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Hackers) GetName

func (x Hackers) GetName() string

func (Hackers) GetPhoneInfo

func (x Hackers) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Hackers) Init

func (x Hackers) Init()

func (Hackers) Refresh

func (x Hackers) Refresh() error

func (Hackers) RefreshCronJob

func (x Hackers) RefreshCronJob()

type IPQualityScore

type IPQualityScore struct {
	// contains filtered or unexported fields
}

func NewIPQualityScore

func NewIPQualityScore() *IPQualityScore

func (IPQualityScore) GetDomainInfo

func (x IPQualityScore) GetDomainInfo(domain string) (json.RawMessage, error)

func (IPQualityScore) GetEmailInfo

func (x IPQualityScore) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (IPQualityScore) GetIpInfo

func (x IPQualityScore) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (IPQualityScore) GetLoginInfo

func (x IPQualityScore) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (IPQualityScore) GetName

func (x IPQualityScore) GetName() string

func (IPQualityScore) GetPhoneInfo

func (x IPQualityScore) GetPhoneInfo(phone string) (json.RawMessage, error)

func (IPQualityScore) Init

func (x IPQualityScore) Init()

func (IPQualityScore) Refresh

func (x IPQualityScore) Refresh() error

func (IPQualityScore) RefreshCronJob

func (x IPQualityScore) RefreshCronJob()

type IPQualityScoreEmailEntry

type IPQualityScoreEmailEntry struct {
	Message            string `json:"message"`
	Success            bool   `json:"success"`
	Valid              bool   `json:"valid"`
	Disposable         bool   `json:"disposable"`
	SMTPScore          int    `json:"smtp_score"`
	OverallScore       int    `json:"overall_score"`
	FirstName          string `json:"first_name"`
	Generic            bool   `json:"generic"`
	Common             bool   `json:"common"`
	DNSValid           bool   `json:"dns_valid"`
	Honeypot           bool   `json:"honeypot"`
	Deliverability     string `json:"deliverability"`
	FrequentComplainer bool   `json:"frequent_complainer"`
	SpamTrapScore      string `json:"spam_trap_score"`
	CatchAll           bool   `json:"catch_all"`
	TimedOut           bool   `json:"timed_out"`
	Suspect            bool   `json:"suspect"`
	RecentAbuse        bool   `json:"recent_abuse"`
	FraudScore         int    `json:"fraud_score"`
	SuggestedDomain    string `json:"suggested_domain"`
	Leaked             bool   `json:"leaked"`

	DomainAge struct {
		Human      string `json:"human"`
		Timestamp  int    `json:"timestamp"`
		Iso        string `json:"iso"`
		AgeInDays  int    `json:"age_in_days"`  // added by 443Id
		AgeInYears int    `json:"age_in_years"` // added by 443Id
	} `json:"domain_age"`
	FirstSeen struct {
		Human      string `json:"human"`
		Timestamp  int    `json:"timestamp"`
		Iso        string `json:"iso"`
		AgeInDays  int    `json:"age_in_days"`  // added by 443Id
		AgeInYears int    `json:"age_in_years"` // added by 443Id
	} `json:"first_seen"`
	SanitizedEmail  string `json:"sanitized_email"`
	DomainVelocity  string `json:"domain_velocity"`
	UserActivity    string `json:"user_activity"`
	AssociatedNames struct {
		Status string        `json:"status"`
		Names  []interface{} `json:"names"`
	} `json:"associated_names"`
	AssociatedPhoneNumbers struct {
		Status       string        `json:"status"`
		PhoneNumbers []interface{} `json:"phone_numbers"`
	} `json:"associated_phone_numbers"`
	RequestID string `json:"request_id"`
}

type ImpossibleTravel

type ImpossibleTravel struct {
	// contains filtered or unexported fields
}

func NewImpossibleTravel

func NewImpossibleTravel() *ImpossibleTravel

func (ImpossibleTravel) GetDomainInfo

func (x ImpossibleTravel) GetDomainInfo(domain string) (json.RawMessage, error)

func (ImpossibleTravel) GetEmailInfo

func (x ImpossibleTravel) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (ImpossibleTravel) GetIpInfo

func (x ImpossibleTravel) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (ImpossibleTravel) GetLoginInfo

func (x ImpossibleTravel) GetLoginInfo(ea *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (ImpossibleTravel) GetName

func (x ImpossibleTravel) GetName() string

func (ImpossibleTravel) GetPhoneInfo

func (x ImpossibleTravel) GetPhoneInfo(phone string) (json.RawMessage, error)

func (ImpossibleTravel) Init

func (x ImpossibleTravel) Init()

func (ImpossibleTravel) Refresh

func (x ImpossibleTravel) Refresh() error

func (ImpossibleTravel) RefreshCronJob

func (x ImpossibleTravel) RefreshCronJob()

type Ip2Location

type Ip2Location struct {
	// contains filtered or unexported fields
}

func NewIp2Location

func NewIp2Location() *Ip2Location

func (Ip2Location) GetDomainInfo

func (x Ip2Location) GetDomainInfo(domain string) (json.RawMessage, error)

func (Ip2Location) GetEmailInfo

func (x Ip2Location) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Ip2Location) GetIpInfo

func (x Ip2Location) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Ip2Location) GetLoginInfo

func (x Ip2Location) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Ip2Location) GetName

func (x Ip2Location) GetName() string

func (Ip2Location) GetPhoneInfo

func (x Ip2Location) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Ip2Location) Init

func (x Ip2Location) Init()

func (Ip2Location) Refresh

func (x Ip2Location) Refresh() error

func (Ip2Location) RefreshCronJob

func (x Ip2Location) RefreshCronJob()

type Ip2LocationInfo

type Ip2LocationInfo struct {
	IpAddress   string
	CountryCode string
	ProxyInfo   ProxyInfo
}

type IpInfo

type IpInfo struct {
	// contains filtered or unexported fields
}

func NewIpInfo

func NewIpInfo() *IpInfo

func (IpInfo) GetDomainInfo

func (x IpInfo) GetDomainInfo(domain string) (json.RawMessage, error)

func (IpInfo) GetEmailInfo

func (x IpInfo) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (IpInfo) GetIpInfo

func (x IpInfo) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (IpInfo) GetLoginInfo

func (x IpInfo) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (IpInfo) GetName

func (x IpInfo) GetName() string

func (IpInfo) GetPhoneInfo

func (x IpInfo) GetPhoneInfo(phone string) (json.RawMessage, error)

func (IpInfo) Init

func (x IpInfo) Init()

func (IpInfo) Refresh

func (x IpInfo) Refresh() error

func (IpInfo) RefreshCronJob

func (x IpInfo) RefreshCronJob()

type IpInfoEntry

type IpInfoEntry struct {
	// NOTE:  some attribitues are only available at the business tier
	ASN         ipinfo.CoreASN   `json:"-"` // asn, name, domain, route, type
	Abuse       ipinfo.CoreAbuse `json:"-"` // address, country, country_name, email, name, network, phone
	AnyCast     bool
	Bogon       bool
	Carrier     ipinfo.CoreCarrier `json:"-"` // name, mcc, mnc
	City        string
	Company     ipinfo.CoreCompany `json:"-"` // name, domain, type
	Country     string
	CountryName string
	Domains     ipinfo.CoreDomains `json:"-"` // IP, total, []domains
	Hostname    string
	IP          string
	Location    string
	Org         string
	Postal      string
	Privacy     ipinfo.CorePrivacy `json:"-"` // VPN, relay, proxy, hosting, service, tor
	Region      string
	Latitude    float64
	Longitude   float64
	Timezone    string
}

type IpSum

type IpSum struct {
	// contains filtered or unexported fields
}

func NewIpSum

func NewIpSum() *IpSum

func (IpSum) GetDomainInfo

func (x IpSum) GetDomainInfo(domain string) (json.RawMessage, error)

func (IpSum) GetEmailInfo

func (x IpSum) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (IpSum) GetIpInfo

func (x IpSum) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (IpSum) GetLoginInfo

func (x IpSum) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (IpSum) GetName

func (x IpSum) GetName() string

func (IpSum) GetPhoneInfo

func (x IpSum) GetPhoneInfo(phone string) (json.RawMessage, error)

func (IpSum) Init

func (x IpSum) Init()

func (IpSum) Refresh

func (x IpSum) Refresh() error

func (IpSum) RefreshCronJob

func (x IpSum) RefreshCronJob()

type IpSumInfo

type IpSumInfo struct {
	IpAddress      string
	IsBlacklisted  bool
	BlacklistCount int
}

type KickMe

type KickMe struct {
	// contains filtered or unexported fields
}

func NewKickfireCountry

func NewKickfireCountry() *KickMe

func (KickMe) GetDomainInfo

func (x KickMe) GetDomainInfo(domain string) (json.RawMessage, error)

func (KickMe) GetEmailInfo

func (x KickMe) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (KickMe) GetIpInfo

func (x KickMe) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (KickMe) GetLoginInfo

func (x KickMe) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (KickMe) GetName

func (x KickMe) GetName() string

func (KickMe) GetPhoneInfo

func (x KickMe) GetPhoneInfo(phone string) (json.RawMessage, error)

func (KickMe) Init

func (x KickMe) Init()

func (KickMe) Refresh

func (x KickMe) Refresh() error

func (KickMe) RefreshCronJob

func (x KickMe) RefreshCronJob()

type Kickfire

type Kickfire struct {
	// contains filtered or unexported fields
}

func NewKickfire

func NewKickfire() *Kickfire

func (Kickfire) Company

func (x Kickfire) Company(ip string) ([]byte, error)

func (Kickfire) GetDomainInfo

func (x Kickfire) GetDomainInfo(domain string) (json.RawMessage, error)

func (Kickfire) GetEmailInfo

func (x Kickfire) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Kickfire) GetIpInfo

func (x Kickfire) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Kickfire) GetLoginInfo

func (x Kickfire) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Kickfire) GetName

func (x Kickfire) GetName() string

func (Kickfire) GetPhoneInfo

func (x Kickfire) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Kickfire) Init

func (x Kickfire) Init()

func (Kickfire) Refresh

func (x Kickfire) Refresh() error

func (Kickfire) RefreshCronJob

func (x Kickfire) RefreshCronJob()

type LeakLookup

type LeakLookup struct {
	// contains filtered or unexported fields
}

func NewLeakLookup

func NewLeakLookup() *LeakLookup

func (LeakLookup) GetDomainInfo

func (x LeakLookup) GetDomainInfo(domain string) (json.RawMessage, error)

func (LeakLookup) GetEmailInfo

func (x LeakLookup) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (LeakLookup) GetIpInfo

func (x LeakLookup) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (LeakLookup) GetLoginInfo

func (x LeakLookup) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (LeakLookup) GetName

func (x LeakLookup) GetName() string

func (LeakLookup) GetPhoneInfo

func (x LeakLookup) GetPhoneInfo(phone string) (json.RawMessage, error)

func (LeakLookup) Init

func (x LeakLookup) Init()

func (LeakLookup) Refresh

func (x LeakLookup) Refresh() error

func (LeakLookup) RefreshCronJob

func (x LeakLookup) RefreshCronJob()

type LeakLookupEntry

type LeakLookupEntry struct {
	Error   string `json:"error"`
	Message struct {
	} `json:"message"`
}

type LeakLookupInfo

type LeakLookupInfo struct {
	Email       string
	BreachCount int
}

type LeakLookupPostBody

type LeakLookupPostBody struct {
	Key   string `json:"key"`
	Type  string `json:"type"`
	Query string `json:"query"`
}

type LiveInfo

type LiveInfo struct {
	Cc  string `json:"cc"`
	Mcc string `json:"mcc"`
	Mnc string `json:"mnc"`
	Nt  string `json:"nt"`
	Tn  string `json:"tn"`
	Rc  string `json:"rc"`
}

type MailServerInfo

type MailServerInfo struct {
	Domain        string
	IsDisposable  bool
	IsPaid        bool
	IsFree        bool
	IsCorporate   bool
	IsResolveable bool
	IsWonkyName   bool
}

type MailServerScrubber

type MailServerScrubber struct {
	// contains filtered or unexported fields
}

scrubber patterns

func NewMailServerScrubber

func NewMailServerScrubber() *MailServerScrubber

func (MailServerScrubber) GetDomainInfo

func (x MailServerScrubber) GetDomainInfo(domain string) (json.RawMessage, error)

func (MailServerScrubber) GetEmailInfo

func (x MailServerScrubber) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (MailServerScrubber) GetIpInfo

func (x MailServerScrubber) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (MailServerScrubber) GetLoginInfo

func (x MailServerScrubber) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (MailServerScrubber) GetName

func (x MailServerScrubber) GetName() string

func (MailServerScrubber) GetPhoneInfo

func (x MailServerScrubber) GetPhoneInfo(phone string) (json.RawMessage, error)

func (MailServerScrubber) Init

func (x MailServerScrubber) Init()

func (MailServerScrubber) IsCorporateService

func (x MailServerScrubber) IsCorporateService(service string) bool

func (MailServerScrubber) IsDisposableService

func (x MailServerScrubber) IsDisposableService(service string) bool

func (MailServerScrubber) IsFreeService

func (x MailServerScrubber) IsFreeService(service string) bool

func (MailServerScrubber) IsPaidService

func (x MailServerScrubber) IsPaidService(service string) bool

func (MailServerScrubber) Refresh

func (x MailServerScrubber) Refresh() error

func (MailServerScrubber) RefreshCronJob

func (x MailServerScrubber) RefreshCronJob()

type Maxmind

type Maxmind struct {
	// contains filtered or unexported fields
}

func NewMaxmind

func NewMaxmind() *Maxmind

func (Maxmind) GetDomainInfo

func (x Maxmind) GetDomainInfo(domain string) (json.RawMessage, error)

func (Maxmind) GetEmailInfo

func (x Maxmind) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Maxmind) GetIpInfo

func (x Maxmind) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Maxmind) GetLoginInfo

func (x Maxmind) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Maxmind) GetName

func (x Maxmind) GetName() string

func (Maxmind) GetPhoneInfo

func (x Maxmind) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Maxmind) Init

func (x Maxmind) Init()

func (Maxmind) Refresh

func (x Maxmind) Refresh() error

func (Maxmind) RefreshCronJob

func (x Maxmind) RefreshCronJob()

type NPQInfo

type NPQInfo struct {
	Tn   string `json:"tn"`
	Npdi bool   `json:"npdi"`
	Npi  bool   `json:"npi"`
	Mcc  string `json:"mcc"`
	Mnc  string `json:"mnc"`
	Cic  string `json:"cic"`
	Cn   string `json:"cn"`
	Cc   string `json:"cc"`
	Nt   string `json:"nt"`
}

type OSINTSignalHandler

type OSINTSignalHandler interface {
	GetName() string
	RefreshCronJob()
	Init()
	Refresh() error
	GetDomainInfo(domain string) (json.RawMessage, error)
	GetIpInfo(ip net.IP) (json.RawMessage, error)
	GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
	GetPhoneInfo(phone string) (json.RawMessage, error)
	GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)
}

func CreateOsintConnectors

func CreateOsintConnectors(sources []string) []OSINTSignalHandler

func NewOsintConnector

func NewOsintConnector(name string) OSINTSignalHandler

type ProxyInfo

type ProxyInfo struct {
	ProxyType   string
	IsProxy     bool
	CountryCode string
}

type Pwned

type Pwned struct {
	// contains filtered or unexported fields
}

func NewPwned

func NewPwned() *Pwned

func (Pwned) Breaches

func (x Pwned) Breaches(email string) (PwnedInfo, error)

func (Pwned) GetDomainInfo

func (x Pwned) GetDomainInfo(domain string) (json.RawMessage, error)

func (Pwned) GetEmailInfo

func (x Pwned) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Pwned) GetIpInfo

func (x Pwned) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Pwned) GetLoginInfo

func (x Pwned) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Pwned) GetName

func (x Pwned) GetName() string

func (Pwned) GetPasswordInfo

func (x Pwned) GetPasswordInfo(password string) (json.RawMessage, error)

func (Pwned) GetPhoneInfo

func (x Pwned) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Pwned) Init

func (x Pwned) Init()

func (Pwned) Password

func (x Pwned) Password(password string) (int, error)

func (Pwned) Pastebin

func (x Pwned) Pastebin(email string) (int, error)

func (Pwned) Refresh

func (x Pwned) Refresh() error

func (Pwned) RefreshCronJob

func (x Pwned) RefreshCronJob()

type PwnedInfo

type PwnedInfo struct {
	Email                  string
	BreachCount            int
	PastebinCount          int
	MostRecentBreachInDays int
	MostRecentBreachDate   string
}

type PwnedPasswordInfo

type PwnedPasswordInfo struct {
	PastbinCount int
}

type Score443Id

type Score443Id struct {
	// contains filtered or unexported fields
}

func New443Id

func New443Id() *Score443Id

func (Score443Id) GetDomainInfo

func (x Score443Id) GetDomainInfo(domain string) (json.RawMessage, error)

func (Score443Id) GetEmailInfo

func (x Score443Id) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Score443Id) GetIpInfo

func (x Score443Id) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Score443Id) GetLoginInfo

func (x Score443Id) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Score443Id) GetName

func (x Score443Id) GetName() string

func (Score443Id) GetPhoneInfo

func (x Score443Id) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Score443Id) GetScore

func (x Score443Id) GetScore(body []byte) (*Score443IdInfo, error)

func (Score443Id) Init

func (x Score443Id) Init()

func (Score443Id) Refresh

func (x Score443Id) Refresh() error

func (Score443Id) RefreshCronJob

func (x Score443Id) RefreshCronJob()

type Score443IdInfo

type Score443IdInfo struct {
	Score       float64
	Risk        string
	Level       int
	IsSuspect   bool
	IsParked    bool
	IsBlacklist bool
	IsSpam      bool
	IsMalware   bool
	IsPhish     bool
	IsFraud     bool
	IsVPN       bool
	IsTor       bool
	IsBot       bool
	IsBreach    bool
	IsLeaked    bool
	IsInvalid   bool
	IsGeneric   bool
	IsHoneypot  bool
	IsAbuse     bool
	IsRisky     bool
}

type Score443IdPostBody

type Score443IdPostBody struct {
	IpAddr      string `json:"ip"`
	EmailAddr   string `json:"email"`
	PhoneNumber string `json:"phone-number"`
}

type Score443IdResponse

type Score443IdResponse struct {
	Version    string  `json:"version"`
	Score      float64 `json:"score"`
	LevelTxt   string  `json:"levelTxt"`
	LevelNum   int     `json:"levelNum"`
	Categories []struct {
		Name    string `json:"name"`
		Signals []struct {
			Name string `json:"name"`
		} `json:"signals"`
	} `json:"categories"`
	RequestID string `json:"requestId"`
}

type SocialMedia

type SocialMedia struct {
	// contains filtered or unexported fields
}

func NewSocialMedia

func NewSocialMedia() *SocialMedia

func (SocialMedia) GetDomainInfo

func (x SocialMedia) GetDomainInfo(domain string) (json.RawMessage, error)

func (SocialMedia) GetEmailInfo

func (x SocialMedia) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (SocialMedia) GetIpInfo

func (x SocialMedia) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (SocialMedia) GetLoginInfo

func (x SocialMedia) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (SocialMedia) GetName

func (x SocialMedia) GetName() string

func (SocialMedia) GetPhoneInfo

func (x SocialMedia) GetPhoneInfo(phone string) (json.RawMessage, error)

func (SocialMedia) Init

func (x SocialMedia) Init()

func (SocialMedia) Refresh

func (x SocialMedia) Refresh() error

func (SocialMedia) RefreshCronJob

func (x SocialMedia) RefreshCronJob()

type SocialMediaInfo

type SocialMediaInfo struct {
	Email       string
	IsSocial    bool
	SocialCount int
	IsTwitter   bool
	IsGithub    bool
	IsPinterest bool
	IsReddit    bool
	IsInstagram bool
}

type Somos

type Somos struct {
	// contains filtered or unexported fields
}

func NewSomos

func NewSomos() *Somos

func (Somos) GetDomainInfo

func (x Somos) GetDomainInfo(domain string) (json.RawMessage, error)

func (Somos) GetEmailInfo

func (x Somos) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Somos) GetIpInfo

func (x Somos) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Somos) GetLoginInfo

func (x Somos) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Somos) GetName

func (x Somos) GetName() string

func (Somos) GetPhoneInfo

func (x Somos) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Somos) Init

func (x Somos) Init()

func (Somos) IsDNO

func (x Somos) IsDNO(phone string) bool

func (Somos) Refresh

func (x Somos) Refresh() error

func (Somos) RefreshCronJob

func (x Somos) RefreshCronJob()

type SomosInfo

type SomosInfo struct {
	Phone   string
	Country string
	IsDNO   bool
}

type Spamhaus

type Spamhaus struct {
	// contains filtered or unexported fields
}

func NewSpamhause

func NewSpamhause() *Spamhaus

func (Spamhaus) GetDomainInfo

func (x Spamhaus) GetDomainInfo(domain string) (json.RawMessage, error)

func (Spamhaus) GetEmailInfo

func (x Spamhaus) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Spamhaus) GetIpInfo

func (x Spamhaus) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Spamhaus) GetLoginInfo

func (x Spamhaus) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Spamhaus) GetName

func (x Spamhaus) GetName() string

func (Spamhaus) GetPhoneInfo

func (x Spamhaus) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Spamhaus) Init

func (x Spamhaus) Init()

func (Spamhaus) IsDrop

func (x Spamhaus) IsDrop(ip net.IP) bool

func (Spamhaus) IsExtendedDrop

func (x Spamhaus) IsExtendedDrop(ip net.IP) bool

func (Spamhaus) Refresh

func (x Spamhaus) Refresh() error

func (Spamhaus) RefreshCronJob

func (x Spamhaus) RefreshCronJob()

type SpamhausInfo

type SpamhausInfo struct {
	IpAddress    string
	IsHighjacked bool
}

type Travel

type Travel struct {
	gorm.Model `json:"-"`
	Timestamp  *time.Time
	EmailAddr  string `gorm:"index:idx_email"`
	IpAddr     string
	Latitude   float64
	Longitude  float64
	City       string
	Country    string
	Miles      int
}

type TravelInfo

type TravelInfo struct {
	TravelMiles        int
	TravelTime         int
	City               string
	Country            string
	IsImpossibleTravel bool
}

type Udger

type Udger struct {
	// contains filtered or unexported fields
}

func NewUdger

func NewUdger() *Udger

func (Udger) GetDomainInfo

func (x Udger) GetDomainInfo(domain string) (json.RawMessage, error)

func (Udger) GetEmailInfo

func (x Udger) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (Udger) GetIpInfo

func (x Udger) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (Udger) GetLoginInfo

func (x Udger) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (Udger) GetName

func (x Udger) GetName() string

func (Udger) GetPhoneInfo

func (x Udger) GetPhoneInfo(phone string) (json.RawMessage, error)

func (Udger) Init

func (x Udger) Init()

func (Udger) Refresh

func (x Udger) Refresh() error

func (Udger) RefreshCronJob

func (x Udger) RefreshCronJob()

type UdgerCloudData

type UdgerCloudData struct {
	Vendor  string
	IpStart int
	IpStop  int
}

type UdgerData

type UdgerData struct {
	Ip          string
	Hostname    string
	Country     string
	CountryCode string
	City        string
	LastSeen    string
}

type UdgerInfo

type UdgerInfo struct {
	IpAddress          string
	IsProxy            bool
	IsVPN              bool
	IsTorExit          bool
	IsHttpAttackSource bool // maps indirectly to isMalicious
	IsMailAttackSource bool // maps indirectly to isMalicious
	IsSshAttackSource  bool // maps indirectly to isMalicious
	IsMalicious        bool
	IsCloudNode        bool // related to AWS_NODES_NAME IsCloudNode
}

type WhoIs

type WhoIs struct {
}

func NewWhoIs

func NewWhoIs() *WhoIs

func (WhoIs) FindDomainAgeInDays

func (x WhoIs) FindDomainAgeInDays(domain string) (int, string, error)

func (WhoIs) GetDomainInfo

func (x WhoIs) GetDomainInfo(domain string) (json.RawMessage, error)

func (WhoIs) GetEmailInfo

func (x WhoIs) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (WhoIs) GetIpInfo

func (x WhoIs) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (WhoIs) GetLoginInfo

func (x WhoIs) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (WhoIs) GetName

func (x WhoIs) GetName() string

func (WhoIs) GetPhoneInfo

func (x WhoIs) GetPhoneInfo(phone string) (json.RawMessage, error)

func (WhoIs) Init

func (x WhoIs) Init()

func (WhoIs) Refresh

func (x WhoIs) Refresh() error

func (WhoIs) RefreshCronJob

func (x WhoIs) RefreshCronJob()

type WhoIsInfo

type WhoIsInfo struct {
	Domain             string
	DomainAgeInDays    int
	DomainAgeInYears   int
	DomainAgeDate      string
	IsRegisteredDomain bool
}

type XConnect

type XConnect struct {
	// contains filtered or unexported fields
}

func NewXConnect

func NewXConnect() *XConnect

func (XConnect) GetDomainInfo

func (x XConnect) GetDomainInfo(domain string) (json.RawMessage, error)

func (XConnect) GetEmailInfo

func (x XConnect) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)

func (XConnect) GetIpInfo

func (x XConnect) GetIpInfo(ip net.IP) (json.RawMessage, error)

func (XConnect) GetLoginInfo

func (x XConnect) GetLoginInfo(email *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)

func (XConnect) GetName

func (x XConnect) GetName() string

func (XConnect) GetPhoneInfo

func (x XConnect) GetPhoneInfo(phone string) (json.RawMessage, error)

func (XConnect) Init

func (x XConnect) Init()

func (XConnect) Refresh

func (x XConnect) Refresh() error

func (XConnect) RefreshCronJob

func (x XConnect) RefreshCronJob()

type XConnectInfo

type XConnectInfo struct {
	GNR  *GNRInfo
	NPQ  *NPQInfo
	Live *LiveInfo
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL