datasrcs

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ShadowServerWhoisURL is the URL for the ShadowServer whois server.
	ShadowServerWhoisURL = "asn.shadowserver.org"
)

Variables

This section is empty.

Functions

func GetAllSources

func GetAllSources(sys systems.System) []requests.Service

GetAllSources returns a slice of all data source services, initialized and ready.

func NewUniqueElements

func NewUniqueElements(orig []string, add ...string) []string

NewUniqueElements removes elements that have duplicates in the original or new elements.

Types

type AlienVault

type AlienVault struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

AlienVault is the Service that handles access to the AlienVault data source.

func NewAlienVault

func NewAlienVault(sys systems.System) *AlienVault

NewAlienVault returns he object initialized, but not yet started.

func (*AlienVault) OnDNSRequest

func (a *AlienVault) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*AlienVault) OnStart

func (a *AlienVault) OnStart() error

OnStart implements the Service interface.

func (*AlienVault) OnWhoisRequest

func (a *AlienVault) OnWhoisRequest(ctx context.Context, req *requests.WhoisRequest)

OnWhoisRequest implements the Service interface.

func (*AlienVault) Type

func (a *AlienVault) Type() string

Type implements the Service interface.

type ArchiveIt

type ArchiveIt struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

ArchiveIt is the Service that handles access to the ArchiveIt data source.

func NewArchiveIt

func NewArchiveIt(sys systems.System) *ArchiveIt

NewArchiveIt returns he object initialized, but not yet started.

func (*ArchiveIt) OnDNSRequest

func (a *ArchiveIt) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*ArchiveIt) OnStart

func (a *ArchiveIt) OnStart() error

OnStart implements the Service interface.

func (*ArchiveIt) Type

func (a *ArchiveIt) Type() string

Type implements the Service interface.

type ArchiveToday

type ArchiveToday struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

ArchiveToday is the Service that handles access to the ArchiveToday data source.

func NewArchiveToday

func NewArchiveToday(sys systems.System) *ArchiveToday

NewArchiveToday returns he object initialized, but not yet started.

func (*ArchiveToday) OnDNSRequest

func (a *ArchiveToday) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*ArchiveToday) OnStart

func (a *ArchiveToday) OnStart() error

OnStart implements the Service interface

func (*ArchiveToday) Type

func (a *ArchiveToday) Type() string

Type implements the Service interface.

type Arquivo

type Arquivo struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Arquivo is the Service that handles access to the Arquivo data source.

func NewArquivo

func NewArquivo(sys systems.System) *Arquivo

NewArquivo returns he object initialized, but not yet started.

func (*Arquivo) OnDNSRequest

func (a *Arquivo) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Arquivo) OnStart

func (a *Arquivo) OnStart() error

OnStart implements the Service interface.

func (*Arquivo) Type

func (a *Arquivo) Type() string

Type implements the Service interface.

type Ask

type Ask struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Ask is the Service that handles access to the Ask data source.

func NewAsk

func NewAsk(sys systems.System) *Ask

NewAsk returns he object initialized, but not yet started.

func (*Ask) OnDNSRequest

func (a *Ask) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Ask) OnStart

func (a *Ask) OnStart() error

OnStart implements the Service interface.

func (*Ask) Type

func (a *Ask) Type() string

Type implements the Service interface.

type Baidu

type Baidu struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Baidu is the Service that handles access to the Baidu data source.

func NewBaidu

func NewBaidu(sys systems.System) *Baidu

NewBaidu returns he object initialized, but not yet started.

func (*Baidu) OnDNSRequest

func (b *Baidu) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Baidu) OnStart

func (b *Baidu) OnStart() error

OnStart implements the Service interface.

func (*Baidu) Type

func (b *Baidu) Type() string

Type implements the Service interface.

type BinaryEdge

type BinaryEdge struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

BinaryEdge is the Service that handles access to the BinaryEdge data source.

func NewBinaryEdge

func NewBinaryEdge(sys systems.System) *BinaryEdge

NewBinaryEdge returns he object initialized, but not yet started.

func (*BinaryEdge) OnDNSRequest

func (be *BinaryEdge) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*BinaryEdge) OnStart

func (be *BinaryEdge) OnStart() error

OnStart implements the Service interface.

func (*BinaryEdge) Type

func (be *BinaryEdge) Type() string

Type implements the Service interface.

type Bing

type Bing struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Bing is the Service that handles access to the Bing data source.

func NewBing

func NewBing(sys systems.System) *Bing

NewBing returns he object initialized, but not yet started.

func (*Bing) OnDNSRequest

func (b *Bing) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Bing) OnStart

func (b *Bing) OnStart() error

OnStart implements the Service interface.

func (*Bing) Type

func (b *Bing) Type() string

Type implements the Service interface.

type BufferOver

type BufferOver struct {
	requests.BaseService

	SourceType string
}

BufferOver is the Service that handles access to the BufferOver data source.

func NewBufferOver

func NewBufferOver(sys systems.System) *BufferOver

NewBufferOver returns he object initialized, but not yet started.

func (*BufferOver) OnDNSRequest

func (b *BufferOver) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*BufferOver) OnStart

func (b *BufferOver) OnStart() error

OnStart implements the Service interface.

func (*BufferOver) Type

func (b *BufferOver) Type() string

Type implements the Service interface.

type CIRCL

type CIRCL struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

CIRCL is the Service that handles access to the CIRCL data source.

func NewCIRCL

func NewCIRCL(sys systems.System) *CIRCL

NewCIRCL returns he object initialized, but not yet started.

func (*CIRCL) OnDNSRequest

func (c *CIRCL) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*CIRCL) OnStart

func (c *CIRCL) OnStart() error

OnStart implements the Service interface.

func (*CIRCL) Type

func (c *CIRCL) Type() string

Type implements the Service interface.

type Censys

type Censys struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

Censys is the Service that handles access to the Censys data source.

func NewCensys

func NewCensys(sys systems.System) *Censys

NewCensys returns he object initialized, but not yet started.

func (*Censys) OnDNSRequest

func (c *Censys) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Censys) OnStart

func (c *Censys) OnStart() error

OnStart implements the Service interface.

func (*Censys) Type

func (c *Censys) Type() string

Type implements the Service interface.

type CertSpotter

type CertSpotter struct {
	requests.BaseService

	SourceType string
}

CertSpotter is the Service that handles access to the CertSpotter data source.

func NewCertSpotter

func NewCertSpotter(sys systems.System) *CertSpotter

NewCertSpotter returns he object initialized, but not yet started.

func (*CertSpotter) OnDNSRequest

func (c *CertSpotter) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*CertSpotter) OnStart

func (c *CertSpotter) OnStart() error

OnStart implements the Service interface.

func (*CertSpotter) Type

func (c *CertSpotter) Type() string

Type implements the Service interface.

type CommonCrawl

type CommonCrawl struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

CommonCrawl is the Service that handles access to the CommonCrawl data source.

func NewCommonCrawl

func NewCommonCrawl(sys systems.System) *CommonCrawl

NewCommonCrawl returns he object initialized, but not yet started.

func (*CommonCrawl) OnDNSRequest

func (c *CommonCrawl) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*CommonCrawl) OnStart

func (c *CommonCrawl) OnStart() error

OnStart implements the Service interface.

func (*CommonCrawl) Type

func (c *CommonCrawl) Type() string

Type implements the Service interface.

type Crtsh

type Crtsh struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Crtsh is the Service that handles access to the Crtsh data source.

func NewCrtsh

func NewCrtsh(sys systems.System) *Crtsh

NewCrtsh returns he object initialized, but not yet started.

func (*Crtsh) OnDNSRequest

func (c *Crtsh) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Crtsh) OnStart

func (c *Crtsh) OnStart() error

OnStart implements the Service interface.

func (*Crtsh) Type

func (c *Crtsh) Type() string

Type implements the Service interface.

type DNSDB

type DNSDB struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

DNSDB is the Service that handles access to the DNSDB data source.

func NewDNSDB

func NewDNSDB(sys systems.System) *DNSDB

NewDNSDB returns he object initialized, but not yet started.

func (*DNSDB) OnDNSRequest

func (d *DNSDB) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*DNSDB) OnStart

func (d *DNSDB) OnStart() error

OnStart implements the Service interface.

func (*DNSDB) Type

func (d *DNSDB) Type() string

Type implements the Service interface.

type DNSDumpster

type DNSDumpster struct {
	requests.BaseService

	SourceType string
}

DNSDumpster is the Service that handles access to the DNSDumpster data source.

func NewDNSDumpster

func NewDNSDumpster(sys systems.System) *DNSDumpster

NewDNSDumpster returns he object initialized, but not yet started.

func (*DNSDumpster) OnDNSRequest

func (d *DNSDumpster) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*DNSDumpster) OnStart

func (d *DNSDumpster) OnStart() error

OnStart implements the Service interface.

func (*DNSDumpster) Type

func (d *DNSDumpster) Type() string

Type implements the Service interface.

type DNSTable

type DNSTable struct {
	requests.BaseService

	SourceType string
}

DNSTable is the Service that handles access to the DNSTable data source.

func NewDNSTable

func NewDNSTable(sys systems.System) *DNSTable

NewDNSTable returns he object initialized, but not yet started.

func (*DNSTable) OnDNSRequest

func (d *DNSTable) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*DNSTable) OnStart

func (d *DNSTable) OnStart() error

OnStart implements the Service interface.

func (*DNSTable) Type

func (d *DNSTable) Type() string

Type implements the Service interface.

type Dogpile

type Dogpile struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Dogpile is the Service that handles access to the Dogpile data source.

func NewDogpile

func NewDogpile(sys systems.System) *Dogpile

NewDogpile returns he object initialized, but not yet started.

func (*Dogpile) OnDNSRequest

func (d *Dogpile) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Dogpile) OnStart

func (d *Dogpile) OnStart() error

OnStart implements the Service interface.

func (*Dogpile) Type

func (d *Dogpile) Type() string

Type implements the Service interface.

type Entrust

type Entrust struct {
	requests.BaseService

	SourceType string
}

Entrust is the Service that handles access to the Entrust data source.

func NewEntrust

func NewEntrust(sys systems.System) *Entrust

NewEntrust returns he object initialized, but not yet started.

func (*Entrust) OnDNSRequest

func (e *Entrust) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Entrust) OnStart

func (e *Entrust) OnStart() error

OnStart implements the Service interface.

func (*Entrust) Type

func (e *Entrust) Type() string

Type implements the Service interface.

type Exalead

type Exalead struct {
	requests.BaseService

	SourceType string
}

Exalead is the Service that handles access to the Exalead data source.

func NewExalead

func NewExalead(sys systems.System) *Exalead

NewExalead returns he object initialized, but not yet started.

func (*Exalead) OnDNSRequest

func (e *Exalead) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Exalead) OnStart

func (e *Exalead) OnStart() error

OnStart implements the Service interface.

func (*Exalead) Type

func (e *Exalead) Type() string

Type implements the Service interface.

type GitHub

type GitHub struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

GitHub is the Service that handles access to the GitHub data source.

func NewGitHub

func NewGitHub(sys systems.System) *GitHub

NewGitHub returns he object initialized, but not yet started.

func (*GitHub) OnDNSRequest

func (g *GitHub) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*GitHub) OnStart

func (g *GitHub) OnStart() error

OnStart implements the Service interface.

func (*GitHub) Type

func (g *GitHub) Type() string

Type implements the Service interface.

type Google

type Google struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Google is the Service that handles access to the Google search engine data source.

func NewGoogle

func NewGoogle(sys systems.System) *Google

NewGoogle returns he object initialized, but not yet started.

func (*Google) OnDNSRequest

func (g *Google) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Google) OnStart

func (g *Google) OnStart() error

OnStart implements the Service interface.

func (*Google) Type

func (g *Google) Type() string

Type implements the Service interface.

type GoogleCT

type GoogleCT struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

GoogleCT is the Service that handles access to the GoogleCT data source.

func NewGoogleCT

func NewGoogleCT(sys systems.System) *GoogleCT

NewGoogleCT returns he object initialized, but not yet started.

func (*GoogleCT) OnDNSRequest

func (g *GoogleCT) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*GoogleCT) OnStart

func (g *GoogleCT) OnStart() error

OnStart implements the Service interface.

func (*GoogleCT) Type

func (g *GoogleCT) Type() string

Type implements the Service interface.

type HackerOne

type HackerOne struct {
	requests.BaseService

	SourceType string
}

HackerOne is the Service that handles access to the unofficial HackerOne disclosure timeline data source.

func NewHackerOne

func NewHackerOne(sys systems.System) *HackerOne

NewHackerOne returns he object initialized, but not yet started.

func (*HackerOne) OnDNSRequest

func (h *HackerOne) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*HackerOne) OnStart

func (h *HackerOne) OnStart() error

OnStart implements the Service interface.

func (*HackerOne) Type

func (h *HackerOne) Type() string

Type implements the Service interface.

type HackerTarget

type HackerTarget struct {
	requests.BaseService

	SourceType string
}

HackerTarget is the Service that handles access to the HackerTarget data source.

func NewHackerTarget

func NewHackerTarget(sys systems.System) *HackerTarget

NewHackerTarget returns he object initialized, but not yet started.

func (*HackerTarget) OnASNRequest

func (h *HackerTarget) OnASNRequest(ctx context.Context, req *requests.ASNRequest)

OnASNRequest implements the Service interface.

func (*HackerTarget) OnDNSRequest

func (h *HackerTarget) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*HackerTarget) OnStart

func (h *HackerTarget) OnStart() error

OnStart implements the Service interface.

func (*HackerTarget) Type

func (h *HackerTarget) Type() string

Type implements the Service interface.

type IPAPI

type IPAPI struct {
	requests.BaseService

	SourceType string
}

IPAPI is the Service that handles access to the ipapi data source.

func NewIPAPI

func NewIPAPI(sys systems.System) *IPAPI

NewIPAPI returns he object initialized, but not yet started.

func (*IPAPI) OnAddrRequest

func (i *IPAPI) OnAddrRequest(ctx context.Context, req *requests.AddrRequest)

OnAddrRequest implements the Service interface.

func (*IPAPI) OnStart

func (i *IPAPI) OnStart() error

OnStart implements the Service interface.

func (*IPAPI) Type

func (i *IPAPI) Type() string

Type implements the Service interface.

type IPToASN

type IPToASN struct {
	requests.BaseService

	SourceType string
}

IPToASN is the Service that handles access to the IPToASN data source.

func NewIPToASN

func NewIPToASN(sys systems.System) *IPToASN

NewIPToASN returns he object initialized, but not yet started.

func (*IPToASN) OnASNRequest

func (i *IPToASN) OnASNRequest(ctx context.Context, req *requests.ASNRequest)

OnASNRequest implements the Service interface.

func (*IPToASN) OnStart

func (i *IPToASN) OnStart() error

OnStart implements the Service interface.

func (*IPToASN) Type

func (i *IPToASN) Type() string

Type implements the Service interface.

type IPv4Info

type IPv4Info struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

IPv4Info is the Service that handles access to the IPv4Info data source.

func NewIPv4Info

func NewIPv4Info(sys systems.System) *IPv4Info

NewIPv4Info returns he object initialized, but not yet started.

func (*IPv4Info) OnDNSRequest

func (i *IPv4Info) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*IPv4Info) OnStart

func (i *IPv4Info) OnStart() error

OnStart implements the Service interface.

func (*IPv4Info) Type

func (i *IPv4Info) Type() string

Type implements the Service interface.

type LoCArchive

type LoCArchive struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

LoCArchive is the Service that handles access to the LoCArchive data source.

func NewLoCArchive

func NewLoCArchive(sys systems.System) *LoCArchive

NewLoCArchive returns he object initialized, but not yet started.

func (*LoCArchive) OnDNSRequest

func (l *LoCArchive) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*LoCArchive) OnStart

func (l *LoCArchive) OnStart() error

OnStart implements the Service interface.

func (*LoCArchive) Type

func (l *LoCArchive) Type() string

Type implements the Service interface.

type Mnemonic

type Mnemonic struct {
	requests.BaseService

	SourceType string
}

Mnemonic is the Service that handles access to the Mnemonic data source.

func NewMnemonic

func NewMnemonic(sys systems.System) *Mnemonic

NewMnemonic returns he object initialized, but not yet started.

func (*Mnemonic) OnDNSRequest

func (m *Mnemonic) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Mnemonic) OnStart

func (m *Mnemonic) OnStart() error

OnStart implements the Service interface.

func (*Mnemonic) Type

func (m *Mnemonic) Type() string

Type implements the Service interface.

type Netcraft

type Netcraft struct {
	requests.BaseService

	SourceType string
}

Netcraft is the Service that handles access to the Netcraft data source.

func NewNetcraft

func NewNetcraft(sys systems.System) *Netcraft

NewNetcraft returns he object initialized, but not yet started.

func (*Netcraft) OnDNSRequest

func (n *Netcraft) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Netcraft) OnStart

func (n *Netcraft) OnStart() error

OnStart implements the Service interface.

func (*Netcraft) Type

func (n *Netcraft) Type() string

Type implements the Service interface.

type NetworksDB

type NetworksDB struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

NetworksDB is the Service that handles access to the NetworksDB.io data source.

func NewNetworksDB

func NewNetworksDB(sys systems.System) *NetworksDB

NewNetworksDB returns he object initialized, but not yet started.

func (*NetworksDB) OnASNRequest

func (n *NetworksDB) OnASNRequest(ctx context.Context, req *requests.ASNRequest)

OnASNRequest implements the Service interface.

func (*NetworksDB) OnStart

func (n *NetworksDB) OnStart() error

OnStart implements the Service interface.

func (*NetworksDB) OnWhoisRequest

func (n *NetworksDB) OnWhoisRequest(ctx context.Context, req *requests.WhoisRequest)

OnWhoisRequest implements the Service interface.

func (*NetworksDB) Type

func (n *NetworksDB) Type() string

Type implements the Service interface.

type OpenUKArchive

type OpenUKArchive struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

OpenUKArchive is the Service that handles access to the OpenUKArchive data source.

func NewOpenUKArchive

func NewOpenUKArchive(sys systems.System) *OpenUKArchive

NewOpenUKArchive returns he object initialized, but not yet started.

func (*OpenUKArchive) OnDNSRequest

func (o *OpenUKArchive) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*OpenUKArchive) OnStart

func (o *OpenUKArchive) OnStart() error

OnStart implements the Service interface.

func (*OpenUKArchive) Type

func (o *OpenUKArchive) Type() string

Type implements the Service interface.

type PassiveTotal

type PassiveTotal struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

PassiveTotal is the Service that handles access to the PassiveTotal data source.

func NewPassiveTotal

func NewPassiveTotal(sys systems.System) *PassiveTotal

NewPassiveTotal returns he object initialized, but not yet started.

func (*PassiveTotal) OnDNSRequest

func (pt *PassiveTotal) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*PassiveTotal) OnStart

func (pt *PassiveTotal) OnStart() error

OnStart implements the Service interface.

func (*PassiveTotal) Type

func (pt *PassiveTotal) Type() string

Type implements the Service interface.

type Pastebin

type Pastebin struct {
	requests.BaseService

	SourceType string
}

Pastebin is the Service that handles access to the Pastebin data source.

func NewPastebin

func NewPastebin(sys systems.System) *Pastebin

NewPastebin returns he object initialized, but not yet started.

func (*Pastebin) OnDNSRequest

func (p *Pastebin) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Pastebin) OnStart

func (p *Pastebin) OnStart() error

OnStart implements the Service interface.

type RADb

type RADb struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

RADb is the Service that handles access to the RADb data source.

func NewRADb

func NewRADb(sys systems.System) *RADb

NewRADb returns he object initialized, but not yet started.

func (*RADb) OnASNRequest

func (r *RADb) OnASNRequest(ctx context.Context, req *requests.ASNRequest)

OnASNRequest implements the Service interface.

func (*RADb) OnStart

func (r *RADb) OnStart() error

OnStart implements the Service interface.

func (*RADb) Type

func (r *RADb) Type() string

Type implements the Service interface.

type Riddler

type Riddler struct {
	requests.BaseService

	SourceType string
}

Riddler is the Service that handles access to the Riddler data source.

func NewRiddler

func NewRiddler(sys systems.System) *Riddler

NewRiddler returns he object initialized, but not yet started.

func (*Riddler) OnDNSRequest

func (r *Riddler) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Riddler) OnStart

func (r *Riddler) OnStart() error

OnStart implements the Service interface.

func (*Riddler) Type

func (r *Riddler) Type() string

Type implements the Service interface.

type Robtex

type Robtex struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Robtex is the Service that handles access to the Robtex data source.

func NewRobtex

func NewRobtex(sys systems.System) *Robtex

NewRobtex returns he object initialized, but not yet started.

func (*Robtex) OnASNRequest

func (r *Robtex) OnASNRequest(ctx context.Context, req *requests.ASNRequest)

OnASNRequest implements the Service interface.

func (*Robtex) OnDNSRequest

func (r *Robtex) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Robtex) OnStart

func (r *Robtex) OnStart() error

OnStart implements the Service interface.

func (*Robtex) Type

func (r *Robtex) Type() string

Type implements the Service interface.

type SecurityTrails

type SecurityTrails struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

SecurityTrails is the Service that handles access to the SecurityTrails data source.

func NewSecurityTrails

func NewSecurityTrails(sys systems.System) *SecurityTrails

NewSecurityTrails returns he object initialized, but not yet started.

func (*SecurityTrails) OnDNSRequest

func (st *SecurityTrails) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*SecurityTrails) OnStart

func (st *SecurityTrails) OnStart() error

OnStart implements the Service interface.

func (*SecurityTrails) OnWhoisRequest

func (st *SecurityTrails) OnWhoisRequest(ctx context.Context, req *requests.WhoisRequest)

OnWhoisRequest implements the Service interface.

func (*SecurityTrails) Type

func (st *SecurityTrails) Type() string

Type implements the Service interface.

type ShadowServer

type ShadowServer struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

ShadowServer is the Service that handles access to the ShadowServer data source.

func NewShadowServer

func NewShadowServer(sys systems.System) *ShadowServer

NewShadowServer returns he object initialized, but not yet started.

func (*ShadowServer) OnASNRequest

func (s *ShadowServer) OnASNRequest(ctx context.Context, req *requests.ASNRequest)

OnASNRequest implements the Service interface.

func (*ShadowServer) OnStart

func (s *ShadowServer) OnStart() error

OnStart implements the Service interface.

func (*ShadowServer) Type

func (s *ShadowServer) Type() string

Type implements the Service interface.

type Shodan

type Shodan struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

Shodan is the Service that handles access to the Shodan data source.

func NewShodan

func NewShodan(sys systems.System) *Shodan

NewShodan returns he object initialized, but not yet started.

func (*Shodan) OnDNSRequest

func (s *Shodan) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Shodan) OnStart

func (s *Shodan) OnStart() error

OnStart implements the Service interface.

func (*Shodan) Type

func (s *Shodan) Type() string

Type implements the Service interface.

type SiteDossier

type SiteDossier struct {
	requests.BaseService

	SourceType string
}

SiteDossier is the Service that handles access to the SiteDossier data source.

func NewSiteDossier

func NewSiteDossier(sys systems.System) *SiteDossier

NewSiteDossier returns he object initialized, but not yet started.

func (*SiteDossier) OnDNSRequest

func (s *SiteDossier) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*SiteDossier) OnStart

func (s *SiteDossier) OnStart() error

OnStart implements the Service interface.

func (*SiteDossier) Type

func (s *SiteDossier) Type() string

Type implements the Service interface.

type Spyse

type Spyse struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

Spyse is the Service that handles access to the Spyse data source.

func NewSpyse

func NewSpyse(sys systems.System) *Spyse

NewSpyse returns he object initialized, but not yet started.

func (*Spyse) OnDNSRequest

func (s *Spyse) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Spyse) OnStart

func (s *Spyse) OnStart() error

OnStart implements the Service interface.

func (*Spyse) Type

func (s *Spyse) Type() string

Type implements the Service interface.

type Sublist3rAPI

type Sublist3rAPI struct {
	requests.BaseService

	SourceType string
}

Sublist3rAPI is the Service that handles access to the Sublist3r API data source.

func NewSublist3rAPI

func NewSublist3rAPI(sys systems.System) *Sublist3rAPI

NewSublist3rAPI returns he object initialized, but not yet started.

func (*Sublist3rAPI) OnDNSRequest

func (s *Sublist3rAPI) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Sublist3rAPI) OnStart

func (s *Sublist3rAPI) OnStart() error

OnStart implements the Service interface.

func (*Sublist3rAPI) Type

func (s *Sublist3rAPI) Type() string

Type implements the Service interface.

type TeamCymru

type TeamCymru struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

TeamCymru is the Service that handles access to the TeamCymru data source.

func NewTeamCymru

func NewTeamCymru(sys systems.System) *TeamCymru

NewTeamCymru returns he object initialized, but not yet started.

func (*TeamCymru) OnASNRequest

func (t *TeamCymru) OnASNRequest(ctx context.Context, req *requests.ASNRequest)

OnASNRequest implements the Service interface.

func (*TeamCymru) OnStart

func (t *TeamCymru) OnStart() error

OnStart implements the Service interface.

func (*TeamCymru) Type

func (t *TeamCymru) Type() string

Type implements the Service interface.

type ThreatCrowd

type ThreatCrowd struct {
	requests.BaseService

	SourceType string
}

ThreatCrowd is the Service that handles access to the ThreatCrowd data source.

func NewThreatCrowd

func NewThreatCrowd(sys systems.System) *ThreatCrowd

NewThreatCrowd returns he object initialized, but not yet started.

func (*ThreatCrowd) OnDNSRequest

func (t *ThreatCrowd) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*ThreatCrowd) OnStart

func (t *ThreatCrowd) OnStart() error

OnStart implements the Service interface.

func (*ThreatCrowd) Type

func (t *ThreatCrowd) Type() string

Type implements the Service interface.

type Twitter

type Twitter struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

Twitter is the Service that handles access to the Twitter data source.

func NewTwitter

func NewTwitter(sys systems.System) *Twitter

NewTwitter returns he object initialized, but not yet started.

func (*Twitter) OnDNSRequest

func (t *Twitter) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Twitter) OnStart

func (t *Twitter) OnStart() error

OnStart implements the Service interface.

func (*Twitter) Type

func (t *Twitter) Type() string

Type implements the Service interface.

type UKGovArchive

type UKGovArchive struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

UKGovArchive is the Service that handles access to the UKGovArchive data source.

func NewUKGovArchive

func NewUKGovArchive(sys systems.System) *UKGovArchive

NewUKGovArchive returns he object initialized, but not yet started.

func (*UKGovArchive) OnDNSRequest

func (u *UKGovArchive) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*UKGovArchive) OnStart

func (u *UKGovArchive) OnStart() error

OnStart implements the Service interface.

func (*UKGovArchive) Type

func (u *UKGovArchive) Type() string

Type implements the Service interface.

type URLScan

type URLScan struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

URLScan is the Service that handles access to the URLScan data source.

func NewURLScan

func NewURLScan(sys systems.System) *URLScan

NewURLScan returns he object initialized, but not yet started.

func (*URLScan) OnDNSRequest

func (u *URLScan) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*URLScan) OnStart

func (u *URLScan) OnStart() error

OnStart implements the Service interface.

func (*URLScan) Type

func (u *URLScan) Type() string

Type implements the Service interface.

type Umbrella

type Umbrella struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

Umbrella is the Service that handles access to the Umbrella data source.

func NewUmbrella

func NewUmbrella(sys systems.System) *Umbrella

NewUmbrella returns he object initialized, but not yet started.

func (*Umbrella) OnASNRequest

func (u *Umbrella) OnASNRequest(ctx context.Context, req *requests.ASNRequest)

OnASNRequest implements the Service interface.

func (*Umbrella) OnAddrRequest

func (u *Umbrella) OnAddrRequest(ctx context.Context, req *requests.AddrRequest)

OnAddrRequest implements the Service interface.

func (*Umbrella) OnDNSRequest

func (u *Umbrella) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Umbrella) OnStart

func (u *Umbrella) OnStart() error

OnStart implements the Service interface.

func (*Umbrella) OnWhoisRequest

func (u *Umbrella) OnWhoisRequest(ctx context.Context, req *requests.WhoisRequest)

OnWhoisRequest implements the Service interface.

func (*Umbrella) Type

func (u *Umbrella) Type() string

Type implements the Service interface.

type ViewDNS

type ViewDNS struct {
	requests.BaseService

	SourceType string
}

ViewDNS is the Service that handles access to the ViewDNS data source.

func NewViewDNS

func NewViewDNS(sys systems.System) *ViewDNS

NewViewDNS returns he object initialized, but not yet started.

func (*ViewDNS) OnDNSRequest

func (v *ViewDNS) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*ViewDNS) OnStart

func (v *ViewDNS) OnStart() error

OnStart implements the Service interface.

func (*ViewDNS) OnWhoisRequest

func (v *ViewDNS) OnWhoisRequest(ctx context.Context, req *requests.WhoisRequest)

OnWhoisRequest implements the Service interface.

func (*ViewDNS) Type

func (v *ViewDNS) Type() string

Type implements the Service interface.

type VirusTotal

type VirusTotal struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

VirusTotal is the Service that handles access to the VirusTotal data source.

func NewVirusTotal

func NewVirusTotal(sys systems.System) *VirusTotal

NewVirusTotal returns he object initialized, but not yet started.

func (*VirusTotal) OnDNSRequest

func (v *VirusTotal) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*VirusTotal) OnStart

func (v *VirusTotal) OnStart() error

OnStart implements the Service interface.

func (*VirusTotal) Type

func (v *VirusTotal) Type() string

Type implements the Service interface.

type Wayback

type Wayback struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Wayback is the Service that handles access to the Wayback data source.

func NewWayback

func NewWayback(sys systems.System) *Wayback

NewWayback returns he object initialized, but not yet started.

func (*Wayback) OnDNSRequest

func (w *Wayback) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Wayback) OnStart

func (w *Wayback) OnStart() error

OnStart implements the Service interface.

func (*Wayback) Type

func (w *Wayback) Type() string

Type implements the Service interface.

type WhoisXML

type WhoisXML struct {
	requests.BaseService

	API        *config.APIKey
	SourceType string
	// contains filtered or unexported fields
}

WhoisXML is the Service that handles access to the WhoisXML data source.

func NewWhoisXML

func NewWhoisXML(sys systems.System) *WhoisXML

NewWhoisXML returns the object initialized, but not yet started.

func (*WhoisXML) OnStart

func (w *WhoisXML) OnStart() error

OnStart implements the Service interface.

func (*WhoisXML) OnWhoisRequest

func (w *WhoisXML) OnWhoisRequest(ctx context.Context, req *requests.WhoisRequest)

OnWhoisRequest implements the Service interface.

type WhoisXMLAdvanceRequest

type WhoisXMLAdvanceRequest struct {
	Search      string                       `json:"searchType"`
	Mode        string                       `json:"mode"`
	SearchTerms []WhoisXMLAdvanceSearchTerms `json:"advancedSearchTerms"`
}

WhoisXMLAdvanceRequest handles POST request Json with specific fields.

type WhoisXMLAdvanceSearchTerms

type WhoisXMLAdvanceSearchTerms struct {
	Field string `json:"field"`
	Term  string `json:"term"`
}

WhoisXMLAdvanceSearchTerms are variables for the api's query with specific fields in mind.

type WhoisXMLBasicRequest

type WhoisXMLBasicRequest struct {
	Search      string                   `json:"searchType"`
	Mode        string                   `json:"mode"`
	SearchTerms WhoisXMLBasicSearchTerms `json:"basicSearchTerms"`
}

WhoisXMLBasicRequest is for using general search terms such as including domains and excluding regions.

type WhoisXMLBasicSearchTerms

type WhoisXMLBasicSearchTerms struct {
	Include []string `json:"include"`
}

WhoisXMLBasicSearchTerms for searching by domain

type WhoisXMLResponse

type WhoisXMLResponse struct {
	Found int      `json:"domainsCount"`
	List  []string `json:"domainsList"`
}

WhoisXMLResponse handles WhoisXML response json.

type Yahoo

type Yahoo struct {
	requests.BaseService

	SourceType string
	// contains filtered or unexported fields
}

Yahoo is the Service that handles access to the Yahoo data source.

func NewYahoo

func NewYahoo(sys systems.System) *Yahoo

NewYahoo returns he object initialized, but not yet started.

func (*Yahoo) OnDNSRequest

func (y *Yahoo) OnDNSRequest(ctx context.Context, req *requests.DNSRequest)

OnDNSRequest implements the Service interface.

func (*Yahoo) OnStart

func (y *Yahoo) OnStart() error

OnStart implements the Service interface.

func (*Yahoo) Type

func (y *Yahoo) Type() string

Type implements the Service interface.

Jump to

Keyboard shortcuts

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