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
© 2022 OSINT Fingerprint Project Contributors
Index ¶
- Constants
- func ClearCache(db *gorm.DB, collector string)
- func ConnectDB() (*gorm.DB, error)
- func ContactMx(host string, domain string, email string, timeout time.Duration) error
- func Distance(lat1 float64, lng1 float64, lat2 float64, lng2 float64, unit rune) float64
- func DownloadFile(client *resty.Client, url string, fileName string) error
- func FindFile(directory, extension string) ([]string, error)
- func FindLatestDbFile(dbPath string, fileExtension string) (string, error)
- func GetContent(client *resty.Client, url string) ([]byte, int, error)
- func GetDSN() string
- func GetDaysFromDate(date string) int
- func GetEmailServerScrubbers() ([]string, []string, []string, []string)
- func Getenv(key, def string) string
- func Ip2Uint(ip net.IP) int
- func LoadFromCSVFile(x *MockCollector, db *gorm.DB, dbFile string) error
- func Postload(db *gorm.DB, snapshot string, table string) error
- func Preload(db *gorm.DB, table string) (string, error)
- func Reload(db *gorm.DB, snapshot string, table string) error
- func ResolveMx(domain string) (string, error)
- func Uint2Ip(iip uint64) net.IP
- func UnGzipFile(gzipPath, gzipFile, outputPath string) error
- func UnTarFile(tarFile, destination string) error
- func UnzipFile(zipFile, destination string) error
- func Write(w io.Writer, out string)
- type AWS
- type AWSCloudCollector
- func (x *AWSCloudCollector) Expiration() string
- func (x *AWSCloudCollector) GetCategories() []string
- func (x *AWSCloudCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *AWSCloudCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *AWSCloudCollector) Init() SignalCollector
- func (x *AWSCloudCollector) IsAWS(ip net.IP) bool
- func (x *AWSCloudCollector) Name() string
- func (x *AWSCloudCollector) Refresh(w io.Writer)
- type AWSInfo
- type ApiVoidCollector
- func (x *ApiVoidCollector) Expiration() string
- func (x *ApiVoidCollector) GetCategories() []string
- func (x *ApiVoidCollector) GetDomainInfo(domain string) (json.RawMessage, error)
- func (x *ApiVoidCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *ApiVoidCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *ApiVoidCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *ApiVoidCollector) Init() SignalCollector
- func (x *ApiVoidCollector) Name() string
- func (x *ApiVoidCollector) Refresh(w io.Writer)
- type BlackholeCollector
- func (x *BlackholeCollector) Expiration() string
- func (x *BlackholeCollector) GetCategories() []string
- func (x *BlackholeCollector) GetDomainInfo(domain string) (json.RawMessage, error)
- func (x *BlackholeCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *BlackholeCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *BlackholeCollector) Init() SignalCollector
- func (x *BlackholeCollector) IsListed(servers []string, host string) int
- func (x *BlackholeCollector) Name() string
- func (x *BlackholeCollector) Refresh(w io.Writer)
- type BlackholeDomainInfo
- type BlackholeIpInfo
- type DBIpCollector
- func (x *DBIpCollector) Expiration() string
- func (x *DBIpCollector) GetCategories() []string
- func (x *DBIpCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *DBIpCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *DBIpCollector) Init() SignalCollector
- func (x *DBIpCollector) Name() string
- func (x *DBIpCollector) Refresh(w io.Writer)
- type DanMeUk
- type DanMeUkCollector
- func (x *DanMeUkCollector) Expiration() string
- func (x *DanMeUkCollector) GetCategories() []string
- func (x *DanMeUkCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *DanMeUkCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *DanMeUkCollector) Init() SignalCollector
- func (x *DanMeUkCollector) Name() string
- func (x *DanMeUkCollector) Refresh(w io.Writer)
- type DanMeUkInfo
- type DbIpInfo
- type DbIpUpdate
- type DeHashedCollector
- func (x *DeHashedCollector) Expiration() string
- func (x *DeHashedCollector) GetCategories() []string
- func (x *DeHashedCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *DeHashedCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *DeHashedCollector) Init() SignalCollector
- func (x *DeHashedCollector) Name() string
- func (x *DeHashedCollector) Refresh(w io.Writer)
- type DeHashedEntry
- type DeHashedInfo
- type DomainToolsCollector
- func (x *DomainToolsCollector) Expiration() string
- func (x *DomainToolsCollector) GetCategories() []string
- func (x *DomainToolsCollector) GetDomainInfo(domain string) (json.RawMessage, error)
- func (x *DomainToolsCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *DomainToolsCollector) Init() SignalCollector
- func (x *DomainToolsCollector) Name() string
- func (x *DomainToolsCollector) Refresh(w io.Writer)
- type DomainToolsEntry
- type DomainToolsInfo
- type Droplist
- type DroplistCollector
- func (x *DroplistCollector) Expiration() string
- func (x *DroplistCollector) GetCategories() []string
- func (x *DroplistCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *DroplistCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *DroplistCollector) Init() SignalCollector
- func (x *DroplistCollector) IsDrop(ip net.IP) bool
- func (x *DroplistCollector) Name() string
- func (x *DroplistCollector) Refresh(w io.Writer)
- type DroplistInfo
- type EmailVerificationCollector
- func (x *EmailVerificationCollector) Expiration() string
- func (x *EmailVerificationCollector) GetCategories() []string
- func (x *EmailVerificationCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *EmailVerificationCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *EmailVerificationCollector) Init() SignalCollector
- func (x *EmailVerificationCollector) Name() string
- func (x *EmailVerificationCollector) Refresh(w io.Writer)
- type EmailVerifyInfo
- type GNRInfo
- type GreyNoiseCollector
- func (x *GreyNoiseCollector) Expiration() string
- func (x *GreyNoiseCollector) GetCategories() []string
- func (x *GreyNoiseCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *GreyNoiseCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *GreyNoiseCollector) Init() SignalCollector
- func (x *GreyNoiseCollector) Name() string
- func (x *GreyNoiseCollector) Refresh(w io.Writer)
- type Hacker
- type HackerCollector
- func (x *HackerCollector) Expiration() string
- func (x *HackerCollector) GetCategories() []string
- func (x *HackerCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *HackerCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *HackerCollector) GetTravelInfo(ea *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)
- func (x *HackerCollector) Init() SignalCollector
- func (x *HackerCollector) Name() string
- func (x *HackerCollector) Refresh(w io.Writer)
- type HackerInfo
- type IPQualityScoreCollector
- func (x *IPQualityScoreCollector) Expiration() string
- func (x *IPQualityScoreCollector) GetCategories() []string
- func (x *IPQualityScoreCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *IPQualityScoreCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *IPQualityScoreCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *IPQualityScoreCollector) GetPhoneInfo(phone string) (json.RawMessage, error)
- func (x *IPQualityScoreCollector) Init() SignalCollector
- func (x *IPQualityScoreCollector) Name() string
- func (x *IPQualityScoreCollector) Refresh(w io.Writer)
- type IPQualityScoreEmailEntry
- type ImpossibleTravelInfo
- type Ip2Location
- type Ip2LocationCollector
- func (x *Ip2LocationCollector) Expiration() string
- func (x *Ip2LocationCollector) GetCategories() []string
- func (x *Ip2LocationCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *Ip2LocationCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *Ip2LocationCollector) Init() SignalCollector
- func (x *Ip2LocationCollector) Name() string
- func (x *Ip2LocationCollector) Refresh(w io.Writer)
- type Ip2LocationInfo
- type Ip2Proxy
- type IpInfoCollector
- func (x *IpInfoCollector) Expiration() string
- func (x *IpInfoCollector) GetCategories() []string
- func (x *IpInfoCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *IpInfoCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *IpInfoCollector) Init() SignalCollector
- func (x *IpInfoCollector) Name() string
- func (x *IpInfoCollector) Refresh(w io.Writer)
- type IpInfoEntry
- type IpSumCollector
- func (x *IpSumCollector) Expiration() string
- func (x *IpSumCollector) GetCategories() []string
- func (x *IpSumCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *IpSumCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *IpSumCollector) Init() SignalCollector
- func (x *IpSumCollector) Name() string
- func (x *IpSumCollector) Refresh(w io.Writer)
- type IpSumInfo
- type Ipsum
- type KickfireCollector
- func (x *KickfireCollector) Company(ip string) ([]byte, error)
- func (x *KickfireCollector) Expiration() string
- func (x *KickfireCollector) GetCategories() []string
- func (x *KickfireCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *KickfireCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *KickfireCollector) Init() SignalCollector
- func (x *KickfireCollector) Name() string
- func (x *KickfireCollector) Refresh(w io.Writer)
- type KickfireFreeCollector
- func (x *KickfireFreeCollector) Expiration() string
- func (x *KickfireFreeCollector) GetCategories() []string
- func (x *KickfireFreeCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *KickfireFreeCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *KickfireFreeCollector) Init() SignalCollector
- func (x *KickfireFreeCollector) Name() string
- func (x *KickfireFreeCollector) Refresh(w io.Writer)
- type LeakLookupCollector
- func (x *LeakLookupCollector) Expiration() string
- func (x *LeakLookupCollector) GetCategories() []string
- func (x *LeakLookupCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *LeakLookupCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *LeakLookupCollector) Init() SignalCollector
- func (x *LeakLookupCollector) Name() string
- func (x *LeakLookupCollector) Refresh(w io.Writer)
- type LeakLookupEntry
- type LeakLookupInfo
- type LeakLookupPostBody
- type LiveInfo
- type MailServerInfo
- type MailServerTypeCollector
- func (x *MailServerTypeCollector) Expiration() string
- func (x *MailServerTypeCollector) GetCategories() []string
- func (x *MailServerTypeCollector) GetDomainInfo(domain string) (json.RawMessage, error)
- func (x *MailServerTypeCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *MailServerTypeCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *MailServerTypeCollector) Init() SignalCollector
- func (x *MailServerTypeCollector) IsCorporateService(service string) bool
- func (x *MailServerTypeCollector) IsDisposableService(service string) bool
- func (x *MailServerTypeCollector) IsFreeService(service string) bool
- func (x *MailServerTypeCollector) IsPaidService(service string) bool
- func (x *MailServerTypeCollector) Name() string
- func (x *MailServerTypeCollector) Refresh(w io.Writer)
- type MaxmindCollector
- func (x *MaxmindCollector) Expiration() string
- func (x *MaxmindCollector) GetCategories() []string
- func (x *MaxmindCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *MaxmindCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *MaxmindCollector) Init() SignalCollector
- func (x *MaxmindCollector) Name() string
- func (x *MaxmindCollector) Refresh(w io.Writer)
- type Mock
- type MockCollector
- func (x *MockCollector) Expiration() string
- func (x *MockCollector) GetCategories() []string
- func (x *MockCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *MockCollector) Init() SignalCollector
- func (x *MockCollector) Name() string
- func (x *MockCollector) ParseLine(record []string) error
- func (x *MockCollector) Refresh(w io.Writer)
- type NPQInfo
- type PwnedCollector
- func (x *PwnedCollector) Breaches(email string) (PwnedInfo, error)
- func (x *PwnedCollector) Expiration() string
- func (x *PwnedCollector) GetCategories() []string
- func (x *PwnedCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *PwnedCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *PwnedCollector) GetPasswordInfo(password string) (json.RawMessage, error)
- func (x *PwnedCollector) Init() SignalCollector
- func (x *PwnedCollector) Name() string
- func (x *PwnedCollector) Password(password string) (int, error)
- func (x *PwnedCollector) Pastebin(email string) (int, error)
- func (x *PwnedCollector) Refresh(w io.Writer)
- type PwnedInfo
- type PwnedPasswordInfo
- type Risk443IdCollector
- func (x *Risk443IdCollector) Expiration() string
- func (x *Risk443IdCollector) GetCategories() []string
- func (x *Risk443IdCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *Risk443IdCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *Risk443IdCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *Risk443IdCollector) GetPhoneInfo(phone string) (json.RawMessage, error)
- func (x *Risk443IdCollector) GetScore(body []byte) (*Score443IdInfo, error)
- func (x *Risk443IdCollector) Init() SignalCollector
- func (x *Risk443IdCollector) Name() string
- func (x *Risk443IdCollector) Refresh(w io.Writer)
- type Score443IdInfo
- type Score443IdPostBody
- type Score443IdResponse
- type SignalCollector
- type SocialMediaCollector
- func (x *SocialMediaCollector) Expiration() string
- func (x *SocialMediaCollector) GetCategories() []string
- func (x *SocialMediaCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
- func (x *SocialMediaCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *SocialMediaCollector) Init() SignalCollector
- func (x *SocialMediaCollector) Name() string
- func (x *SocialMediaCollector) Refresh(w io.Writer)
- type SocialMediaInfo
- type Somos
- func (x *Somos) Expiration() string
- func (x *Somos) GetCategories() []string
- func (x *Somos) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *Somos) GetPhoneInfo(phone string) (json.RawMessage, error)
- func (x *Somos) Init() SignalCollector
- func (x *Somos) IsDNO(phone string) bool
- func (x *Somos) Name() string
- func (x *Somos) Refresh(w io.Writer)
- type SomosInfo
- type Travel
- type TravelCollector
- func (x *TravelCollector) Expiration() string
- func (x *TravelCollector) GetCategories() []string
- func (x *TravelCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *TravelCollector) GetTravelInfo(ea *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)
- func (x *TravelCollector) Init() SignalCollector
- func (x *TravelCollector) Name() string
- func (x *TravelCollector) Refresh(w io.Writer)
- type Udger
- type UdgerCloud
- type UdgerCollector
- func (x *UdgerCollector) Expiration() string
- func (x *UdgerCollector) GetCategories() []string
- func (x *UdgerCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *UdgerCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
- func (x *UdgerCollector) Init() SignalCollector
- func (x *UdgerCollector) Name() string
- func (x *UdgerCollector) Refresh(w io.Writer)
- type UdgerInfo
- type WhoIs
- func (x *WhoIs) Expiration() string
- func (x *WhoIs) FindDomainAgeInDays(domain string) (int, string, error)
- func (x *WhoIs) GetCategories() []string
- func (x *WhoIs) GetDomainInfo(domain string) (json.RawMessage, error)
- func (x *WhoIs) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *WhoIs) Init() SignalCollector
- func (x *WhoIs) Name() string
- func (x *WhoIs) Refresh(w io.Writer)
- type WhoIsInfo
- type XConnect
- func (x *XConnect) Expiration() string
- func (x *XConnect) GetCategories() []string
- func (x *XConnect) GetInfo(category string, input ...string) (json.RawMessage, error)
- func (x *XConnect) GetPhoneInfo(phone string) (json.RawMessage, error)
- func (x *XConnect) Init() SignalCollector
- func (x *XConnect) Name() string
- func (x *XConnect) Refresh(w io.Writer)
- type XConnectInfo
Constants ¶
const ( DANMEUK_TOR_NODE_TYPE = 0 DANMEUK_TOR_EXIT_TYPE = 1 )
const ( DROP = 0 EXTENDED_DROP = 1 )
const ( IP2LOCATION_GEO_TYPE = 0 IP2LOCATION_PROXY_TYPE = 1 )
const ( UDGER_PROXY_TYPE = 0 UDGER_VPN_TYPE = 1 UDGER_TOR_TYPE = 2 UDGER_HTTP_MALICIOUS_TYPE = 3 UDGER_MAIL_MALICIOUS_TYPE = 4 UDGER_SSH_MALICIOUS_TYPE = 5 UDGER_CLOUD_TYPE = -1 )
const ( CRON_EVERY_MINUTE = "* * * * *" CRON_EVERY_HOUR = "0 * * * *" CRON_EVERY_DAY = "0 0 * * *" CRON_EVERY_SUNDAY = "0 0 * * 0" CRON_EVERY_MONTH = "0 0 1 * *" )
const MOCK_NAME = "mock"
const RBL_ENABLED = false
const SNAPSHOT_SCHEMA = "snapshots"
const TRAVEL_MILES_THRESHOLD = 1000
const TRAVEL_TIME_THRESHOLD = 24
Variables ¶
This section is empty.
Functions ¶
func ClearCache ¶
func GetEmailServerScrubbers ¶
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 LoadFromCSVFile ¶
func LoadFromCSVFile(x *MockCollector, db *gorm.DB, dbFile string) error
func UnGzipFile ¶
Types ¶
type AWS ¶
type AWSCloudCollector ¶
type AWSCloudCollector struct {
// contains filtered or unexported fields
}
func NewAWS ¶
func NewAWS() *AWSCloudCollector
func (*AWSCloudCollector) Expiration ¶
func (x *AWSCloudCollector) Expiration() string
func (*AWSCloudCollector) GetCategories ¶
func (x *AWSCloudCollector) GetCategories() []string
func (*AWSCloudCollector) GetInfo ¶
func (x *AWSCloudCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*AWSCloudCollector) GetIpInfo ¶
func (x *AWSCloudCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*AWSCloudCollector) Init ¶
func (x *AWSCloudCollector) Init() SignalCollector
func (*AWSCloudCollector) Name ¶
func (x *AWSCloudCollector) Name() string
func (*AWSCloudCollector) Refresh ¶
func (x *AWSCloudCollector) Refresh(w io.Writer)
type ApiVoidCollector ¶
type ApiVoidCollector struct {
// contains filtered or unexported fields
}
func NewApiVoid ¶
func NewApiVoid() *ApiVoidCollector
func (*ApiVoidCollector) Expiration ¶
func (x *ApiVoidCollector) Expiration() string
func (*ApiVoidCollector) GetCategories ¶
func (x *ApiVoidCollector) GetCategories() []string
func (*ApiVoidCollector) GetDomainInfo ¶
func (x *ApiVoidCollector) GetDomainInfo(domain string) (json.RawMessage, error)
func (*ApiVoidCollector) GetEmailInfo ¶
func (x *ApiVoidCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
func (*ApiVoidCollector) GetInfo ¶
func (x *ApiVoidCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*ApiVoidCollector) GetIpInfo ¶
func (x *ApiVoidCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*ApiVoidCollector) Init ¶
func (x *ApiVoidCollector) Init() SignalCollector
func (*ApiVoidCollector) Name ¶
func (x *ApiVoidCollector) Name() string
func (*ApiVoidCollector) Refresh ¶
func (x *ApiVoidCollector) Refresh(w io.Writer)
type BlackholeCollector ¶
type BlackholeCollector struct {
// contains filtered or unexported fields
}
func NewBlackhole ¶
func NewBlackhole() *BlackholeCollector
func (*BlackholeCollector) Expiration ¶
func (x *BlackholeCollector) Expiration() string
func (*BlackholeCollector) GetCategories ¶
func (x *BlackholeCollector) GetCategories() []string
func (*BlackholeCollector) GetDomainInfo ¶
func (x *BlackholeCollector) GetDomainInfo(domain string) (json.RawMessage, error)
func (*BlackholeCollector) GetInfo ¶
func (x *BlackholeCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*BlackholeCollector) GetIpInfo ¶
func (x *BlackholeCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*BlackholeCollector) Init ¶
func (x *BlackholeCollector) Init() SignalCollector
func (*BlackholeCollector) IsListed ¶
func (x *BlackholeCollector) IsListed(servers []string, host string) int
func (*BlackholeCollector) Name ¶
func (x *BlackholeCollector) Name() string
func (*BlackholeCollector) Refresh ¶
func (x *BlackholeCollector) Refresh(w io.Writer)
type BlackholeDomainInfo ¶
type BlackholeIpInfo ¶
type DBIpCollector ¶
type DBIpCollector struct {
// contains filtered or unexported fields
}
func NewDBIP ¶
func NewDBIP() *DBIpCollector
func (*DBIpCollector) Expiration ¶
func (x *DBIpCollector) Expiration() string
func (*DBIpCollector) GetCategories ¶
func (x *DBIpCollector) GetCategories() []string
func (*DBIpCollector) GetInfo ¶
func (x *DBIpCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*DBIpCollector) GetIpInfo ¶
func (x *DBIpCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*DBIpCollector) Init ¶
func (x *DBIpCollector) Init() SignalCollector
func (*DBIpCollector) Name ¶
func (x *DBIpCollector) Name() string
func (*DBIpCollector) Refresh ¶
func (x *DBIpCollector) Refresh(w io.Writer)
type DanMeUk ¶
type DanMeUkCollector ¶
type DanMeUkCollector struct {
// contains filtered or unexported fields
}
func NewDanMeUk ¶
func NewDanMeUk() *DanMeUkCollector
func (*DanMeUkCollector) Expiration ¶
func (x *DanMeUkCollector) Expiration() string
func (*DanMeUkCollector) GetCategories ¶
func (x *DanMeUkCollector) GetCategories() []string
func (*DanMeUkCollector) GetInfo ¶
func (x *DanMeUkCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*DanMeUkCollector) GetIpInfo ¶
func (x *DanMeUkCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*DanMeUkCollector) Init ¶
func (x *DanMeUkCollector) Init() SignalCollector
func (*DanMeUkCollector) Name ¶
func (x *DanMeUkCollector) Name() string
func (*DanMeUkCollector) Refresh ¶
func (x *DanMeUkCollector) Refresh(w io.Writer)
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
type DanMeUkInfo ¶
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 DeHashedCollector ¶
type DeHashedCollector struct {
// contains filtered or unexported fields
}
func NewDeHashed ¶
func NewDeHashed() *DeHashedCollector
func (*DeHashedCollector) Expiration ¶
func (x *DeHashedCollector) Expiration() string
func (*DeHashedCollector) GetCategories ¶
func (x *DeHashedCollector) GetCategories() []string
func (*DeHashedCollector) GetEmailInfo ¶
func (x *DeHashedCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
func (*DeHashedCollector) GetInfo ¶
func (x *DeHashedCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*DeHashedCollector) Init ¶
func (x *DeHashedCollector) Init() SignalCollector
func (*DeHashedCollector) Name ¶
func (x *DeHashedCollector) Name() string
func (*DeHashedCollector) Refresh ¶
func (x *DeHashedCollector) Refresh(w io.Writer)
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 DomainToolsCollector ¶
type DomainToolsCollector struct {
// contains filtered or unexported fields
}
func NewDomainTools ¶
func NewDomainTools() *DomainToolsCollector
func (*DomainToolsCollector) Expiration ¶
func (x *DomainToolsCollector) Expiration() string
func (*DomainToolsCollector) GetCategories ¶
func (x *DomainToolsCollector) GetCategories() []string
func (*DomainToolsCollector) GetDomainInfo ¶
func (x *DomainToolsCollector) GetDomainInfo(domain string) (json.RawMessage, error)
func (*DomainToolsCollector) GetInfo ¶
func (x *DomainToolsCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*DomainToolsCollector) Init ¶
func (x *DomainToolsCollector) Init() SignalCollector
func (*DomainToolsCollector) Name ¶
func (x *DomainToolsCollector) Name() string
func (*DomainToolsCollector) Refresh ¶
func (x *DomainToolsCollector) Refresh(w io.Writer)
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 Droplist ¶
type DroplistCollector ¶
type DroplistCollector struct {
// contains filtered or unexported fields
}
func NewDroplist ¶
func NewDroplist() *DroplistCollector
func (*DroplistCollector) Expiration ¶
func (x *DroplistCollector) Expiration() string
func (*DroplistCollector) GetCategories ¶
func (x *DroplistCollector) GetCategories() []string
func (*DroplistCollector) GetInfo ¶
func (x *DroplistCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*DroplistCollector) GetIpInfo ¶
func (x *DroplistCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*DroplistCollector) Init ¶
func (x *DroplistCollector) Init() SignalCollector
func (*DroplistCollector) Name ¶
func (x *DroplistCollector) Name() string
func (*DroplistCollector) Refresh ¶
func (x *DroplistCollector) Refresh(w io.Writer)
type DroplistInfo ¶
type EmailVerificationCollector ¶
type EmailVerificationCollector struct {
}
func NewEmailVerification ¶
func NewEmailVerification() *EmailVerificationCollector
func (*EmailVerificationCollector) Expiration ¶
func (x *EmailVerificationCollector) Expiration() string
func (*EmailVerificationCollector) GetCategories ¶
func (x *EmailVerificationCollector) GetCategories() []string
func (*EmailVerificationCollector) GetEmailInfo ¶
func (x *EmailVerificationCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
TODO: add our own code for some of this... mxs, err := net.LookupMX(ea.Domain)
if err != nil || len(mxs) == 0 {
PrintRow(ea.String(), "EMAIL", "hasValidMailServer", "nslookup", "false")
} else {
PrintRow(ea.String(), "EMAIL", "hasValidMailServer", "nslookup", "true") }
func (*EmailVerificationCollector) GetInfo ¶
func (x *EmailVerificationCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*EmailVerificationCollector) Init ¶
func (x *EmailVerificationCollector) Init() SignalCollector
func (*EmailVerificationCollector) Name ¶
func (x *EmailVerificationCollector) Name() string
func (*EmailVerificationCollector) Refresh ¶
func (x *EmailVerificationCollector) Refresh(w io.Writer)
type EmailVerifyInfo ¶
type GreyNoiseCollector ¶
type GreyNoiseCollector struct {
// contains filtered or unexported fields
}
func NewGreyNoise ¶
func NewGreyNoise() *GreyNoiseCollector
func (*GreyNoiseCollector) Expiration ¶
func (x *GreyNoiseCollector) Expiration() string
func (*GreyNoiseCollector) GetCategories ¶
func (x *GreyNoiseCollector) GetCategories() []string
func (*GreyNoiseCollector) GetInfo ¶
func (x *GreyNoiseCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*GreyNoiseCollector) GetIpInfo ¶
func (x *GreyNoiseCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*GreyNoiseCollector) Init ¶
func (x *GreyNoiseCollector) Init() SignalCollector
func (*GreyNoiseCollector) Name ¶
func (x *GreyNoiseCollector) Name() string
func (*GreyNoiseCollector) Refresh ¶
func (x *GreyNoiseCollector) Refresh(w io.Writer)
type Hacker ¶
type HackerCollector ¶
type HackerCollector struct {
// contains filtered or unexported fields
}
func NewHacker ¶
func NewHacker() *HackerCollector
func (*HackerCollector) Expiration ¶
func (x *HackerCollector) Expiration() string
func (*HackerCollector) GetCategories ¶
func (x *HackerCollector) GetCategories() []string
func (*HackerCollector) GetInfo ¶
func (x *HackerCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*HackerCollector) GetIpInfo ¶
func (x *HackerCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*HackerCollector) GetTravelInfo ¶
func (x *HackerCollector) GetTravelInfo(ea *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)
func (*HackerCollector) Init ¶
func (x *HackerCollector) Init() SignalCollector
func (*HackerCollector) Name ¶
func (x *HackerCollector) Name() string
func (*HackerCollector) Refresh ¶
func (x *HackerCollector) Refresh(w io.Writer)
type HackerInfo ¶
type IPQualityScoreCollector ¶
type IPQualityScoreCollector struct {
// contains filtered or unexported fields
}
func NewIPQualityScore ¶
func NewIPQualityScore() *IPQualityScoreCollector
func (*IPQualityScoreCollector) Expiration ¶
func (x *IPQualityScoreCollector) Expiration() string
func (*IPQualityScoreCollector) GetCategories ¶
func (x *IPQualityScoreCollector) GetCategories() []string
func (*IPQualityScoreCollector) GetEmailInfo ¶
func (x *IPQualityScoreCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
func (*IPQualityScoreCollector) GetInfo ¶
func (x *IPQualityScoreCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*IPQualityScoreCollector) GetIpInfo ¶
func (x *IPQualityScoreCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*IPQualityScoreCollector) GetPhoneInfo ¶
func (x *IPQualityScoreCollector) GetPhoneInfo(phone string) (json.RawMessage, error)
func (*IPQualityScoreCollector) Init ¶
func (x *IPQualityScoreCollector) Init() SignalCollector
func (*IPQualityScoreCollector) Name ¶
func (x *IPQualityScoreCollector) Name() string
func (*IPQualityScoreCollector) Refresh ¶
func (x *IPQualityScoreCollector) Refresh(w io.Writer)
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 ImpossibleTravelInfo ¶
type Ip2Location ¶
type Ip2Location struct {
ID uint `gorm:"primarykey"`
CreatedAt time.Time
StartIpAddr net.IP `gorm:"type:inet;index:idx_ip2location_ips,unique"`
EndIpAddr net.IP `gorm:"type:inet;index:idx_ip2location_ips,unique"`
CountryCode string
Country string
}
func (Ip2Location) TableName ¶
func (Ip2Location) TableName() string
type Ip2LocationCollector ¶
type Ip2LocationCollector struct {
// contains filtered or unexported fields
}
func NewIp2Location ¶
func NewIp2Location() *Ip2LocationCollector
func (*Ip2LocationCollector) Expiration ¶
func (x *Ip2LocationCollector) Expiration() string
func (*Ip2LocationCollector) GetCategories ¶
func (x *Ip2LocationCollector) GetCategories() []string
func (*Ip2LocationCollector) GetInfo ¶
func (x *Ip2LocationCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*Ip2LocationCollector) GetIpInfo ¶
func (x *Ip2LocationCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*Ip2LocationCollector) Init ¶
func (x *Ip2LocationCollector) Init() SignalCollector
func (*Ip2LocationCollector) Name ¶
func (x *Ip2LocationCollector) Name() string
func (*Ip2LocationCollector) Refresh ¶
func (x *Ip2LocationCollector) Refresh(w io.Writer)
type Ip2LocationInfo ¶
type Ip2Proxy ¶
type IpInfoCollector ¶
type IpInfoCollector struct {
// contains filtered or unexported fields
}
func NewIpInfo ¶
func NewIpInfo() *IpInfoCollector
func (*IpInfoCollector) Expiration ¶
func (x *IpInfoCollector) Expiration() string
func (*IpInfoCollector) GetCategories ¶
func (x *IpInfoCollector) GetCategories() []string
func (*IpInfoCollector) GetInfo ¶
func (x *IpInfoCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*IpInfoCollector) GetIpInfo ¶
func (x *IpInfoCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*IpInfoCollector) Init ¶
func (x *IpInfoCollector) Init() SignalCollector
func (*IpInfoCollector) Name ¶
func (x *IpInfoCollector) Name() string
func (*IpInfoCollector) Refresh ¶
func (x *IpInfoCollector) Refresh(w io.Writer)
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 IpSumCollector ¶
type IpSumCollector struct {
// contains filtered or unexported fields
}
func NewIpSum ¶
func NewIpSum() *IpSumCollector
func (*IpSumCollector) Expiration ¶
func (x *IpSumCollector) Expiration() string
func (*IpSumCollector) GetCategories ¶
func (x *IpSumCollector) GetCategories() []string
func (*IpSumCollector) GetInfo ¶
func (x *IpSumCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*IpSumCollector) GetIpInfo ¶
func (x *IpSumCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*IpSumCollector) Init ¶
func (x *IpSumCollector) Init() SignalCollector
func (*IpSumCollector) Name ¶
func (x *IpSumCollector) Name() string
func (*IpSumCollector) Refresh ¶
func (x *IpSumCollector) Refresh(w io.Writer)
type Ipsum ¶
type KickfireCollector ¶
type KickfireCollector struct {
// contains filtered or unexported fields
}
func NewKickfire ¶
func NewKickfire() *KickfireCollector
func (*KickfireCollector) Expiration ¶
func (x *KickfireCollector) Expiration() string
func (*KickfireCollector) GetCategories ¶
func (x *KickfireCollector) GetCategories() []string
func (*KickfireCollector) GetInfo ¶
func (x *KickfireCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*KickfireCollector) GetIpInfo ¶
func (x *KickfireCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*KickfireCollector) Init ¶
func (x *KickfireCollector) Init() SignalCollector
func (*KickfireCollector) Name ¶
func (x *KickfireCollector) Name() string
func (*KickfireCollector) Refresh ¶
func (x *KickfireCollector) Refresh(w io.Writer)
type KickfireFreeCollector ¶
type KickfireFreeCollector struct {
// contains filtered or unexported fields
}
func NewKickfireCountry ¶
func NewKickfireCountry() *KickfireFreeCollector
func (*KickfireFreeCollector) Expiration ¶
func (x *KickfireFreeCollector) Expiration() string
func (*KickfireFreeCollector) GetCategories ¶
func (x *KickfireFreeCollector) GetCategories() []string
func (*KickfireFreeCollector) GetInfo ¶
func (x *KickfireFreeCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*KickfireFreeCollector) GetIpInfo ¶
func (x *KickfireFreeCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*KickfireFreeCollector) Init ¶
func (x *KickfireFreeCollector) Init() SignalCollector
func (*KickfireFreeCollector) Name ¶
func (x *KickfireFreeCollector) Name() string
func (*KickfireFreeCollector) Refresh ¶
func (x *KickfireFreeCollector) Refresh(w io.Writer)
type LeakLookupCollector ¶
type LeakLookupCollector struct {
// contains filtered or unexported fields
}
func NewLeakLookup ¶
func NewLeakLookup() *LeakLookupCollector
func (*LeakLookupCollector) Expiration ¶
func (x *LeakLookupCollector) Expiration() string
func (*LeakLookupCollector) GetCategories ¶
func (x *LeakLookupCollector) GetCategories() []string
func (*LeakLookupCollector) GetEmailInfo ¶
func (x *LeakLookupCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
func (*LeakLookupCollector) GetInfo ¶
func (x *LeakLookupCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*LeakLookupCollector) Init ¶
func (x *LeakLookupCollector) Init() SignalCollector
func (*LeakLookupCollector) Name ¶
func (x *LeakLookupCollector) Name() string
func (*LeakLookupCollector) Refresh ¶
func (x *LeakLookupCollector) Refresh(w io.Writer)
type LeakLookupEntry ¶
type LeakLookupEntry struct {
Error string `json:"error"`
Message struct {
} `json:"message"`
}
type LeakLookupInfo ¶
type LeakLookupPostBody ¶
type MailServerInfo ¶
type MailServerTypeCollector ¶
type MailServerTypeCollector struct {
// contains filtered or unexported fields
}
scrubber patterns
func NewMailServerType ¶
func NewMailServerType() *MailServerTypeCollector
func (*MailServerTypeCollector) Expiration ¶
func (x *MailServerTypeCollector) Expiration() string
func (*MailServerTypeCollector) GetCategories ¶
func (x *MailServerTypeCollector) GetCategories() []string
func (*MailServerTypeCollector) GetDomainInfo ¶
func (x *MailServerTypeCollector) GetDomainInfo(domain string) (json.RawMessage, error)
func (*MailServerTypeCollector) GetEmailInfo ¶
func (x *MailServerTypeCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
func (*MailServerTypeCollector) GetInfo ¶
func (x *MailServerTypeCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*MailServerTypeCollector) Init ¶
func (x *MailServerTypeCollector) Init() SignalCollector
func (*MailServerTypeCollector) IsCorporateService ¶
func (x *MailServerTypeCollector) IsCorporateService(service string) bool
func (*MailServerTypeCollector) IsDisposableService ¶
func (x *MailServerTypeCollector) IsDisposableService(service string) bool
func (*MailServerTypeCollector) IsFreeService ¶
func (x *MailServerTypeCollector) IsFreeService(service string) bool
func (*MailServerTypeCollector) IsPaidService ¶
func (x *MailServerTypeCollector) IsPaidService(service string) bool
func (*MailServerTypeCollector) Name ¶
func (x *MailServerTypeCollector) Name() string
func (*MailServerTypeCollector) Refresh ¶
func (x *MailServerTypeCollector) Refresh(w io.Writer)
type MaxmindCollector ¶
type MaxmindCollector struct {
// contains filtered or unexported fields
}
func NewMaxmind ¶
func NewMaxmind() *MaxmindCollector
func (*MaxmindCollector) Expiration ¶
func (x *MaxmindCollector) Expiration() string
func (*MaxmindCollector) GetCategories ¶
func (x *MaxmindCollector) GetCategories() []string
func (*MaxmindCollector) GetInfo ¶
func (x *MaxmindCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*MaxmindCollector) GetIpInfo ¶
func (x *MaxmindCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*MaxmindCollector) Init ¶
func (x *MaxmindCollector) Init() SignalCollector
func (*MaxmindCollector) Name ¶
func (x *MaxmindCollector) Name() string
func (*MaxmindCollector) Refresh ¶
func (x *MaxmindCollector) Refresh(w io.Writer)
type MockCollector ¶
type MockCollector struct {
// contains filtered or unexported fields
}
func NewMockCollector ¶
func NewMockCollector() *MockCollector
func (*MockCollector) Expiration ¶
func (x *MockCollector) Expiration() string
func (*MockCollector) GetCategories ¶
func (x *MockCollector) GetCategories() []string
func (*MockCollector) GetInfo ¶
func (x *MockCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*MockCollector) Init ¶
func (x *MockCollector) Init() SignalCollector
func (*MockCollector) Name ¶
func (x *MockCollector) Name() string
func (*MockCollector) ParseLine ¶
func (x *MockCollector) ParseLine(record []string) error
func (*MockCollector) Refresh ¶
func (x *MockCollector) Refresh(w io.Writer)
type PwnedCollector ¶
type PwnedCollector struct {
// contains filtered or unexported fields
}
func NewPwned ¶
func NewPwned() *PwnedCollector
func (*PwnedCollector) Breaches ¶
func (x *PwnedCollector) Breaches(email string) (PwnedInfo, error)
func (*PwnedCollector) Expiration ¶
func (x *PwnedCollector) Expiration() string
func (*PwnedCollector) GetCategories ¶
func (x *PwnedCollector) GetCategories() []string
func (*PwnedCollector) GetEmailInfo ¶
func (x *PwnedCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
func (*PwnedCollector) GetInfo ¶
func (x *PwnedCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*PwnedCollector) GetPasswordInfo ¶
func (x *PwnedCollector) GetPasswordInfo(password string) (json.RawMessage, error)
func (*PwnedCollector) Init ¶
func (x *PwnedCollector) Init() SignalCollector
func (*PwnedCollector) Name ¶
func (x *PwnedCollector) Name() string
func (*PwnedCollector) Refresh ¶
func (x *PwnedCollector) Refresh(w io.Writer)
type PwnedPasswordInfo ¶
type PwnedPasswordInfo struct {
PastbinCount int
}
type Risk443IdCollector ¶
type Risk443IdCollector struct {
// contains filtered or unexported fields
}
func NewRisk443Id ¶
func NewRisk443Id() *Risk443IdCollector
func (*Risk443IdCollector) Expiration ¶
func (x *Risk443IdCollector) Expiration() string
func (*Risk443IdCollector) GetCategories ¶
func (x *Risk443IdCollector) GetCategories() []string
func (*Risk443IdCollector) GetEmailInfo ¶
func (x *Risk443IdCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
func (*Risk443IdCollector) GetInfo ¶
func (x *Risk443IdCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*Risk443IdCollector) GetIpInfo ¶
func (x *Risk443IdCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*Risk443IdCollector) GetPhoneInfo ¶
func (x *Risk443IdCollector) GetPhoneInfo(phone string) (json.RawMessage, error)
func (*Risk443IdCollector) GetScore ¶
func (x *Risk443IdCollector) GetScore(body []byte) (*Score443IdInfo, error)
func (*Risk443IdCollector) Init ¶
func (x *Risk443IdCollector) Init() SignalCollector
func (*Risk443IdCollector) Name ¶
func (x *Risk443IdCollector) Name() string
func (*Risk443IdCollector) Refresh ¶
func (x *Risk443IdCollector) Refresh(w io.Writer)
type Score443IdInfo ¶
type Score443IdPostBody ¶
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 SignalCollector ¶
type SocialMediaCollector ¶
type SocialMediaCollector struct {
// contains filtered or unexported fields
}
func NewSocialMedia ¶
func NewSocialMedia() *SocialMediaCollector
func (*SocialMediaCollector) Expiration ¶
func (x *SocialMediaCollector) Expiration() string
func (*SocialMediaCollector) GetCategories ¶
func (x *SocialMediaCollector) GetCategories() []string
func (*SocialMediaCollector) GetEmailInfo ¶
func (x *SocialMediaCollector) GetEmailInfo(email *emailaddress.EmailAddress) (json.RawMessage, error)
func (*SocialMediaCollector) GetInfo ¶
func (x *SocialMediaCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*SocialMediaCollector) Init ¶
func (x *SocialMediaCollector) Init() SignalCollector
func (*SocialMediaCollector) Name ¶
func (x *SocialMediaCollector) Name() string
func (*SocialMediaCollector) Refresh ¶
func (x *SocialMediaCollector) Refresh(w io.Writer)
type SocialMediaInfo ¶
type Somos ¶
type Somos struct {
// contains filtered or unexported fields
}
func (*Somos) Expiration ¶
func (*Somos) GetCategories ¶
func (*Somos) GetPhoneInfo ¶
func (x *Somos) GetPhoneInfo(phone string) (json.RawMessage, error)
func (*Somos) Init ¶
func (x *Somos) Init() SignalCollector
type Travel ¶
type TravelCollector ¶
type TravelCollector struct {
// contains filtered or unexported fields
}
func NewImpossibleTravel ¶
func NewImpossibleTravel() *TravelCollector
func (*TravelCollector) Expiration ¶
func (x *TravelCollector) Expiration() string
func (*TravelCollector) GetCategories ¶
func (x *TravelCollector) GetCategories() []string
func (*TravelCollector) GetInfo ¶
func (x *TravelCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*TravelCollector) GetTravelInfo ¶
func (x *TravelCollector) GetTravelInfo(ea *emailaddress.EmailAddress, ip net.IP) (json.RawMessage, error)
func (*TravelCollector) Init ¶
func (x *TravelCollector) Init() SignalCollector
func (*TravelCollector) Name ¶
func (x *TravelCollector) Name() string
func (*TravelCollector) Refresh ¶
func (x *TravelCollector) Refresh(w io.Writer)
type Udger ¶
type Udger struct {
ID uint `gorm:"primarykey"`
CreatedAt time.Time
IpAddr net.IP `gorm:"type:inet;index:idx_udger_ip_addr_udger_type,unique"`
UdgerType int
Hostname string
CountryCode string
Country string
City string
LastSeen time.Time
}
Format:: "IP address","Hostname","Country","Country code","City","Last seen"
type UdgerCloud ¶
type UdgerCloud struct {
ID uint `gorm:"primarykey"`
CreatedAt time.Time
Vendor string
HomePage string
StartIpAddr net.IP `gorm:"type:inet;index:idx_udger_cloud_ip_addr,unique"`
EndIpAddr net.IP `gorm:"type:inet;index:idx_udger_cloud_ip_addr,unique"`
}
Format:: "Datacenter name","Homepage","IP from","IP to","IP long integer from","IP long integer to"
func (UdgerCloud) TableName ¶
func (UdgerCloud) TableName() string
type UdgerCollector ¶
type UdgerCollector struct {
// contains filtered or unexported fields
}
func NewUdger ¶
func NewUdger() *UdgerCollector
func (*UdgerCollector) Expiration ¶
func (x *UdgerCollector) Expiration() string
func (*UdgerCollector) GetCategories ¶
func (x *UdgerCollector) GetCategories() []string
func (*UdgerCollector) GetInfo ¶
func (x *UdgerCollector) GetInfo(category string, input ...string) (json.RawMessage, error)
func (*UdgerCollector) GetIpInfo ¶
func (x *UdgerCollector) GetIpInfo(ip net.IP) (json.RawMessage, error)
func (*UdgerCollector) Init ¶
func (x *UdgerCollector) Init() SignalCollector
func (*UdgerCollector) Name ¶
func (x *UdgerCollector) Name() string
func (*UdgerCollector) Refresh ¶
func (x *UdgerCollector) Refresh(w io.Writer)
type WhoIs ¶
type WhoIs struct {
}
func (*WhoIs) Expiration ¶
func (*WhoIs) FindDomainAgeInDays ¶
func (*WhoIs) GetCategories ¶
func (*WhoIs) GetDomainInfo ¶
func (x *WhoIs) GetDomainInfo(domain string) (json.RawMessage, error)
func (*WhoIs) Init ¶
func (x *WhoIs) Init() SignalCollector
type XConnect ¶
type XConnect struct {
// contains filtered or unexported fields
}
func NewXConnect ¶
func NewXConnect() *XConnect
func (*XConnect) Expiration ¶
func (*XConnect) GetCategories ¶
func (*XConnect) GetPhoneInfo ¶
func (x *XConnect) GetPhoneInfo(phone string) (json.RawMessage, error)
func (*XConnect) Init ¶
func (x *XConnect) Init() SignalCollector
type XConnectInfo ¶
Source Files
¶
- 443id.go
- apivoid.go
- awscloud.go
- blackhole.go
- danmeuk.go
- dbip.go
- dehashed.go
- domaintools.go
- droplist.go
- emailcheck.go
- emailtype.go
- greynoise.go
- hackers.go
- impossibletravel.go
- ip2location.go
- ipinfo.go
- ipqs.go
- ipsum.go
- kickfire_free.go
- kickfire_paid.go
- leaklookup.go
- maxmind.go
- mock.go
- pwned.go
- socialmedia.go
- somos.go
- udger.go
- utils.go
- whois.go
- xconnect.go