utils

package
v0.0.0-...-ed0f54f Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BreachDirectoryAPI    = "https://breachdirectory.p.rapidapi.com/?func=auto&term="
	EmailrepURL           = "https://emailrep.io/"
	HunterAPI             = "https://api.hunter.io/v2/domain-search?domain="
	IntelxURL             = "https://intelx.io/"
	IPAPIURL              = "https://ipapi.co/"
	PsbdmpAPI             = "https://psbdmp.ws/api/v3/search/"
	AdobeEndpoint         = "https://auth.services.adobe.com/signin/v2/users/accounts"
	DiscordEndpoint       = "https://discord.com/api/v9/auth/register"
	InstagramCSRFEndpoint = "https://www.instagram.com/accounts/emailsignup/"
	InstagramEndpoint     = "https://www.instagram.com/accounts/web_create_ajax/attempt/"
	SpotifyEndpoint       = "https://spclient.wg.spotify.com/signup/public/v1/account"
	TwitterEndpoint       = "https://api.twitter.com/i/users/email_available.json"
)
View Source
const (
	IntelxDefaultMaxResults = 10
)

Variables

View Source
var (
	ConfigReturn   map[string]interface{}
	ProgressBar    *progressbar.ProgressBar = nil
	LookupTable    *tablewriter.Table       = tablewriter.NewWriter(os.Stdout)
	BannerTemplate string                   = `` /* 172-byte string literal not displayed */

)
View Source
var (
	Verify_result          models.VerifyStruct
	Emailrep_result        models.EmailRepStruct
	Breachdirectory_result models.BreachDirectoryStruct
	Hunter_result          models.HunterStruct
	Googling_result        []string
	Intelx_result          []string
	Social_result          []string
	Psbdmp_result          models.PsbdmpStruct
	Lookup_temp_result     [][]string
	Ipapi_result           models.IPAPIStruct
	Verifier               = emailverifier.NewVerifier().
							EnableAutoUpdateDisposable()
)
View Source
var TitleMap = map[string]string{
	"EmailRep":        "\nEmailRep Results:",
	"Hunter":          "\nHunter Results:",
	"Googling":        "\nGoogling Results:",
	"Intelx":          "\nIntelX Results:",
	"Psbdmp":          "\nPastebin Dumps (psbdmp):",
	"Social":          "\nSocial Media Results:",
	"IPAPI":           "\nIPAPI Results:",
	"Lookup":          "\nLookup Results:",
	"BreachDirectory": "\nBreachDirectory Results:",
}

Functions

func CreateConfig

func CreateConfig()

func EmailRegex

func EmailRegex(email string)

func GetAPIKey

func GetAPIKey(key string) string

func PrintBreachDirectory

func PrintBreachDirectory(breachdirectory_result models.BreachDirectoryStruct)

func PrintEmailRep

func PrintEmailRep(emailrep_result models.EmailRepStruct)

func PrintGoogle

func PrintGoogle(googling_result []string)

func PrintHunter

func PrintHunter(hunter_result models.HunterStruct)

func PrintIPAPI

func PrintIPAPI(apiapi_result models.IPAPIStruct)

func PrintIntelx

func PrintIntelx(intelx_result []string)

func PrintLookup

func PrintLookup(lookup_temp_result [][]string)

func PrintPsbdmp

func PrintPsbdmp(psbdmp_result models.PsbdmpStruct)

func PrintSocial

func PrintSocial(social_result []string)

func PrintVerify

func PrintVerify(verify_result models.VerifyStruct)

func SetAPIKey

func SetAPIKey(key string, value string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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