Documentation
¶
Index ¶
- Variables
- func ComputeScryptNonce(challengeInput, checksum string, difficulty int) (string, error)
- func Decrypt(encrypted string) ([]byte, error)
- func Encrypt(plaintext []byte) (string, error)
- func GetFP(userAgent string) (string, string, error)
- func HashPoW(challengeInput, checksum string, difficulty int) (string, error)
- func NetworkBandwidth(difficulty int, sizes map[int]int) string
- func ScryptFunc(inputStr, saltStr string, memoryCost int) (string, error)
- func SolveChallenge(challengeType, challengeInput, checksum string, difficulty int, ...) (string, error)
- type Automation
- type AutomationPhantom
- type AutomationProperties
- type AutomationWD
- type BEBlock
- type CSSCapabilities
- type CanvasBlock
- type Capabilities
- type Challenge
- type CryptoBlock
- type Fingerprint
- type GPUBlock
- type GPUInfo
- type GokuProps
- type Inputs
- type JSCapabilities
- type MathBlock
- type Metrics
- type PhantomProperties
- type Plugin
- type Stealth
- type ValueVerifySignals
- type Verify
- type VerifyMetrics
- type VerifyRes
- type VerifySignals
- type Waf
- type WebGL
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyGPUList = errors.New("empty webgl gpu list")
Functions ¶
func ComputeScryptNonce ¶
Types ¶
type Automation ¶
type Automation struct {
WD AutomationWD `json:"wd"`
Phantom AutomationPhantom `json:"phantom"`
}
type AutomationPhantom ¶
type AutomationPhantom struct {
Properties PhantomProperties `json:"properties"`
}
type AutomationProperties ¶
type AutomationWD ¶
type AutomationWD struct {
Properties AutomationProperties `json:"properties"`
}
type CSSCapabilities ¶
type CSSCapabilities struct {
TextShadow int `json:"textShadow"`
WebkitTextStroke int `json:"WebkitTextStroke"`
BoxShadow int `json:"boxShadow"`
BorderRadius int `json:"borderRadius"`
BorderImage int `json:"borderImage"`
Opacity int `json:"opacity"`
Transform int `json:"transform"`
Transition int `json:"transition"`
}
type CanvasBlock ¶
type Capabilities ¶
type Capabilities struct {
CSS CSSCapabilities `json:"css"`
JS JSCapabilities `json:"js"`
Elapsed int `json:"elapsed"`
}
type CryptoBlock ¶
type CryptoBlock struct {
Crypto int `json:"crypto"`
Subtle int `json:"subtle"`
Encrypt bool `json:"encrypt"`
Decrypt bool `json:"decrypt"`
WrapKey bool `json:"wrapKey"`
UnwrapKey bool `json:"unwrapKey"`
Sign bool `json:"sign"`
Verify bool `json:"verify"`
Digest bool `json:"digest"`
DeriveBits bool `json:"deriveBits"`
DeriveKey bool `json:"deriveKey"`
GetRandomVals bool `json:"getRandomValues"`
RandomUUID bool `json:"randomUUID"`
}
type Fingerprint ¶
type Fingerprint struct {
Metrics Metrics `json:"metrics"`
Start int64 `json:"start"`
FlashVersion any `json:"flashVersion"`
Plugins []Plugin `json:"plugins"`
DupedPlugins string `json:"dupedPlugins"`
ScreenInfo string `json:"screenInfo"`
Referrer string `json:"referrer"`
UserAgent string `json:"userAgent"`
Location string `json:"location"`
WebDriver bool `json:"webDriver"`
Capabilities Capabilities `json:"capabilities"`
GPU GPUBlock `json:"gpu"`
DNT any `json:"dnt"`
Math MathBlock `json:"math"`
Automation Automation `json:"automation"`
Stealth Stealth `json:"stealth"`
Crypto CryptoBlock `json:"crypto"`
Canvas CanvasBlock `json:"canvas"`
FormDetected bool `json:"formDetected"`
NumForms int `json:"numForms"`
NumFormElems int `json:"numFormElements"`
BE BEBlock `json:"be"`
End int64 `json:"end"`
Errors []any `json:"errors"`
Version string `json:"version"`
ID string `json:"id"`
}
type GokuProps ¶
type JSCapabilities ¶
type Metrics ¶
type Metrics struct {
Fp2 int `json:"fp2"`
Browser int `json:"browser"`
Capabilities int `json:"capabilities"`
GPU int `json:"gpu"`
DNT int `json:"dnt"`
Math int `json:"math"`
Screen int `json:"screen"`
Auto int `json:"auto"`
Stealth int `json:"stealth"`
Subtle int `json:"subtle"`
Canvas int `json:"canvas"`
FormDetector int `json:"formdetector"`
BE int `json:"be"`
}
type PhantomProperties ¶
type PhantomProperties struct {
Window []string `json:"window"`
}
type ValueVerifySignals ¶
type ValueVerifySignals struct {
Present string `json:"Present"`
}
type Verify ¶
type Verify struct {
Challenge Challenge `json:"challenge"`
Solution string `json:"solution"`
Signals []VerifySignals `json:"signals"`
Checksum string `json:"checksum"`
ExistingToken []string `json:"existing_token"`
Client string `json:"client"`
Domain string `json:"domain"`
Metrics []VerifyMetrics `json:"metrics"`
GokuProps GokuProps `json:"goku_props"`
}
type VerifyMetrics ¶
type VerifySignals ¶
type VerifySignals struct {
Name string `json:"name"`
Value ValueVerifySignals `json:"value"`
}
Click to show internal directories.
Click to hide internal directories.