Documentation ¶
Index ¶
- Constants
- func InitScanners(remote *Library)
- func OpenPlugin(path string) error
- func RegisterPlugin(s Scanner)
- type GoogleCSEScannerResponse
- type GoogleSearchDork
- type GoogleSearchResponse
- type Library
- type LocalScannerResponse
- type NumverifyScannerResponse
- type OVHScannerResponse
- type Plugin
- type ResultItem
- type Scanner
- type ScannerOptions
Constants ¶
View Source
const GoogleCSE = "googlecse"
View Source
const Googlesearch = "googlesearch"
View Source
const Local = "local"
View Source
const Numverify = "numverify"
View Source
const OVH = "ovh"
Variables ¶
This section is empty.
Functions ¶
func InitScanners ¶
func InitScanners(remote *Library)
func OpenPlugin ¶ added in v2.6.0
func RegisterPlugin ¶ added in v2.6.0
func RegisterPlugin(s Scanner)
Types ¶
type GoogleCSEScannerResponse ¶ added in v2.7.0
type GoogleCSEScannerResponse struct { Homepage string `json:"homepage,omitempty" console:"Homepage,omitempty"` ResultCount int `json:"result_count" console:"Results shown"` TotalResultCount int `json:"total_result_count" console:"Total number of results"` TotalRequestCount int `json:"total_request_count" console:"Requests made"` Items []ResultItem `json:"items,omitempty" console:"Items,omitempty"` }
type GoogleSearchDork ¶
type GoogleSearchDork struct { Number string `json:"number" console:"-"` Dork string `json:"dork" console:"-"` URL string `json:"url" console:"URL"` }
GoogleSearchDork is the common format for dork requests
type GoogleSearchResponse ¶
type GoogleSearchResponse struct { SocialMedia []*GoogleSearchDork `json:"social_media" console:"Social media,omitempty"` DisposableProviders []*GoogleSearchDork `json:"disposable_providers" console:"Disposable providers,omitempty"` Reputation []*GoogleSearchDork `json:"reputation" console:"Reputation,omitempty"` Individuals []*GoogleSearchDork `json:"individuals" console:"Individuals,omitempty"` General []*GoogleSearchDork `json:"general" console:"General,omitempty"` }
GoogleSearchResponse is the output of Google search scanner. It contains all dorks created ordered by types.
type Library ¶
type Library struct {
// contains filtered or unexported fields
}
func NewLibrary ¶
func (*Library) AddScanner ¶
func (*Library) GetAllScanners ¶ added in v2.8.0
func (*Library) GetScanner ¶ added in v2.9.0
func (*Library) LoadPlugins ¶ added in v2.6.0
func (r *Library) LoadPlugins()
type LocalScannerResponse ¶
type LocalScannerResponse struct { RawLocal string `json:"raw_local,omitempty" console:"Raw local,omitempty"` Local string `json:"local,omitempty" console:"Local,omitempty"` E164 string `json:"e164,omitempty" console:"E164,omitempty"` International string `json:"international,omitempty" console:"International,omitempty"` CountryCode int32 `json:"country_code,omitempty" console:"Country code,omitempty"` Country string `json:"country,omitempty" console:"Country,omitempty"` Carrier string `json:"carrier,omitempty" console:"Carrier,omitempty"` }
type NumverifyScannerResponse ¶
type NumverifyScannerResponse struct { Valid bool `json:"valid" console:"Valid"` Number string `json:"number" console:"Number,omitempty"` LocalFormat string `json:"local_format" console:"Local format,omitempty"` InternationalFormat string `json:"international_format" console:"International format,omitempty"` CountryPrefix string `json:"country_prefix" console:"Country prefix,omitempty"` CountryCode string `json:"country_code" console:"Country code,omitempty"` CountryName string `json:"country_name" console:"Country name,omitempty"` Location string `json:"location" console:"Location,omitempty"` Carrier string `json:"carrier" console:"Carrier,omitempty"` LineType string `json:"line_type" console:"Line type,omitempty"` }
type OVHScannerResponse ¶
type OVHScannerResponse struct { Found bool `json:"found" console:"Found"` NumberRange string `json:"number_range,omitempty" console:"Number range,omitempty"` City string `json:"city,omitempty" console:"City,omitempty"` ZipCode string `json:"zip_code,omitempty" console:"Zip code,omitempty"` }
OVHScannerResponse is the OVH scanner response
type ResultItem ¶ added in v2.7.0
type Scanner ¶
type Scanner interface { Name() string Description() string DryRun(number.Number, ScannerOptions) error Run(number.Number, ScannerOptions) (interface{}, error) }
func NewGoogleCSEScanner ¶ added in v2.7.0
func NewGoogleSearchScanner ¶
func NewGoogleSearchScanner() Scanner
func NewLocalScanner ¶
func NewLocalScanner() Scanner
func NewNumverifyScanner ¶
func NewNumverifyScanner(s suppliers.NumverifySupplierInterface) Scanner
func NewOVHScanner ¶
func NewOVHScanner(s suppliers.OVHSupplierInterface) Scanner
type ScannerOptions ¶ added in v2.11.0
type ScannerOptions map[string]interface{}
func (ScannerOptions) GetStringEnv ¶ added in v2.11.0
func (o ScannerOptions) GetStringEnv(k string) string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.