Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GoogleSearchDork ¶
GoogleSearchDork is the common format for dork requests
type GoogleSearchResponse ¶
type GoogleSearchResponse struct { SocialMedia []*GoogleSearchDork `json:"socialMedia"` DisposableProviders []*GoogleSearchDork `json:"disposableProviders"` Reputation []*GoogleSearchDork `json:"reputation"` Individuals []*GoogleSearchDork `json:"individuals"` General []*GoogleSearchDork `json:"general"` }
GoogleSearchResponse is the output of Google search scanner. It contains all dorks created ordered by types.
func GoogleSearchScan ¶
func GoogleSearchScan(number *Number, formats ...string) (results GoogleSearchResponse)
GoogleSearchScan creates several Google requests to search footprints of the number online through Google search.
type Number ¶
type Number struct { RawLocal string `json:"rawLocal"` Local string `json:"local"` E164 string `json:"E164"` International string `json:"international"` CountryCode int32 `json:"countryCode"` Country string `json:"country"` Carrier string `json:"carrier"` }
Number is a phone number
type NumverifyScannerResponse ¶
type NumverifyScannerResponse struct { Valid bool `json:"valid"` Number string `json:"number"` LocalFormat string `json:"local_format"` InternationalFormat string `json:"international_format"` CountryPrefix string `json:"country_prefix"` CountryCode string `json:"country_code"` CountryName string `json:"country_name"` Location string `json:"location"` Carrier string `json:"carrier"` LineType string `json:"line_type"` }
NumverifyScannerResponse REST API response
func NumverifyScan ¶
func NumverifyScan(number *Number) (res *NumverifyScannerResponse, err error)
NumverifyScan fetches Numverify's API
type OVHAPIResponseNumber ¶
type OVHAPIResponseNumber struct { MatchingCriteria interface{} `json:"matchingCriteria"` City string `json:"city"` ZneList []string `json:"zneList"` InternationalNumber string `json:"internationalNumber"` Country string `json:"country"` AskedCity interface{} `json:"askedCity"` ZipCode string `json:"zipCode"` Number string `json:"number"` Prefix int `json:"prefix"` }
OVHAPIResponseNumber is a type that describes an OVH number range
type OVHScannerResponse ¶
type OVHScannerResponse struct { Found bool `json:"found"` NumberRange string `json:"numberRange"` City string `json:"city"` ZipCode string `json:"zipCode"` }
OVHScannerResponse is the OVH scanner response
func OVHScan ¶
func OVHScan(number *Number) (res *OVHScannerResponse, err error)
OVHScan fetches OVH's REST API
Click to show internal directories.
Click to hide internal directories.