user_intel

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PSbreached     PasswordStatus = 0
	PSunbreached                  = 1
	PSinconclusive                = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HashType

type HashType string
const (
	HTsha265 HashType = "sha256"
	HTsha1   HashType = "sha1"
	HTsha512 HashType = "sha512"
	HTntlm   HashType = "ntlm"
)

type PasswordStatus

type PasswordStatus int

type UserBreachedBulkRequest added in v3.5.0

type UserBreachedBulkRequest struct {
	// Base request has ConfigID for multi-config projects
	pangea.BaseRequest

	Emails       []string `json:"emails,omitempty"`
	Usernames    []string `json:"usernames,omitempty"`
	PhoneNumbers []string `json:"phone_numbers,omitempty"`
	IPs          []string `json:"ips,omitempty"`
	Start        string   `json:"start,omitempty"`
	End          string   `json:"end,omitempty"`
	Verbose      *bool    `json:"verbose,omitempty"`
	Raw          *bool    `json:"raw,omitempty"`
	Provider     string   `json:"provider,omitempty"`
}

type UserBreachedBulkResult added in v3.5.0

type UserBreachedBulkResult struct {
	Data       map[string]UserBreachedData `json:"data"`
	Parameters interface{}                 `json:"parameters,omitempty"`
	RawData    interface{}                 `json:"raw_data,omitempty"`
}

type UserBreachedData

type UserBreachedData struct {
	FoundInBreach bool `json:"found_in_breach"`
	BreachCount   int  `json:"breach_count,omitempty"`
}

type UserBreachedRequest

type UserBreachedRequest struct {
	// Base request has ConfigID for multi-config projects
	pangea.BaseRequest

	Email       string `json:"email,omitempty"`
	Username    string `json:"username,omitempty"`
	PhoneNumber string `json:"phone_number,omitempty"`
	IP          string `json:"ip,omitempty"`
	Start       string `json:"start,omitempty"`
	End         string `json:"end,omitempty"`
	Verbose     *bool  `json:"verbose,omitempty"`
	Raw         *bool  `json:"raw,omitempty"`
	Provider    string `json:"provider,omitempty"`
}

type UserBreachedResult

type UserBreachedResult struct {
	Data       UserBreachedData `json:"data"`
	Parameters interface{}      `json:"parameters,omitempty"`
	RawData    interface{}      `json:"raw_data,omitempty"`
}

type UserPasswordBreachedBulkRequest added in v3.5.0

type UserPasswordBreachedBulkRequest struct {
	// Base request has ConfigID for multi-config projects
	pangea.BaseRequest

	HashType     HashType `json:"hash_type,omitempty"`
	HashPrefixes []string `json:"hash_prefixes,omitempty"`
	Verbose      *bool    `json:"verbose,omitempty"`
	Raw          *bool    `json:"raw,omitempty"`
	Provider     string   `json:"provider,omitempty"`
}

type UserPasswordBreachedBulkResult added in v3.5.0

type UserPasswordBreachedBulkResult struct {
	Data       map[string]UserPasswordBreachedData `json:"data"`
	Parameters map[string]any                      `json:"parameters,omitempty"`
	RawData    map[string]any                      `json:"raw_data,omitempty"`
}

type UserPasswordBreachedData

type UserPasswordBreachedData struct {
	FoundInBreach bool `json:"found_in_breach"`
	BreachCount   int  `json:"breach_count,omitempty"`
}

type UserPasswordBreachedRequest

type UserPasswordBreachedRequest struct {
	// Base request has ConfigID for multi-config projects
	pangea.BaseRequest

	HashType   HashType `json:"hash_type,omitempty"`
	HashPrefix string   `json:"hash_prefix,omitempty"`
	Verbose    *bool    `json:"verbose,omitempty"`
	Raw        *bool    `json:"raw,omitempty"`
	Provider   string   `json:"provider,omitempty"`
}

type UserPasswordBreachedResult

type UserPasswordBreachedResult struct {
	Data       UserPasswordBreachedData `json:"data"`
	Parameters map[string]any           `json:"parameters,omitempty"`
	RawData    map[string]any           `json:"raw_data,omitempty"`
}

Jump to

Keyboard shortcuts

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