scanners

package
v1.10.13-0...-5e65d5e Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanCLI

func ScanCLI(number string)

ScanCLI Run scans with CLI output

Types

type GoogleSearchDork

type GoogleSearchDork struct {
	Number string `json:"number"`
	Dork   string `json:"dork"`
	URL    string
}

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

func LocalScan

func LocalScan(number string) (res *Number, err error)

LocalScan performs a local scan of a phone number using phonenumbers library

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

Jump to

Keyboard shortcuts

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