Documentation
¶
Index ¶
- Constants
- func AudioCodecsExtendedHash() string
- func ChromeWindowsF58835f() string
- func CodecTableSizes() (audio, video int)
- func ComputeBrowserObjectChecks(present []string) string
- func ComputeF(fe []string) string
- func ComputeF58835f(f BrowserFeatures) string
- func ComputeIfeHash(fe []string) string
- func ComputeRTTType(extensionsHash, webglHash string) string
- func ComputeSpeech(voices []Voice) (defaultVoice, voicesHash string)
- func ComputeWebGLExtensionsHash(extensions string) string
- func ComputeWebGLHash(fields []Item) string
- func Encrypt(content string, pubkeyB64 string) (string, error)
- func EncryptAES(data, userAgent, xArkValue string) (string, error)
- func ExtractRSAKey(apiJS string) string
- func KHash(data string, seed uint32) string
- func MD5(s string) string
- func PickAudioFingerprint() string
- func VideoCodecsExtendedHash() string
- func WebGLHashInput(fields []Item) string
- type BrowserFeatures
- type Config
- type DeviceIdentity
- type DeviceProfile
- type HDRInfo
- type Item
- type Option
- func WithCapiMode(m string) Option
- func WithDataExchangeRegex(re string) Option
- func WithDataExchangeURL(u string) Option
- func WithLanguage(l string) Option
- func WithOrigin(o string) Option
- func WithProxy(p string) Option
- func WithPublicKey(pk string) Option
- func WithRSAPublicKey(spki string) Option
- func WithReferer(r string) Option
- func WithSite(site string) Option
- func WithSitedataLocationHref(u string) Option
- func WithSurl(surl string) Option
- func WithTitle(t string) Option
- func WithUserAgent(ua string) Option
- type SolveResult
- type Solver
- type Vendor
- type Voice
- type WebGLFingerprint
Constants ¶
View Source
const WebGLExtensions = "" /* 809-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AudioCodecsExtendedHash ¶ added in v1.1.0
func AudioCodecsExtendedHash() string
func ChromeWindowsF58835f ¶ added in v1.2.0
func ChromeWindowsF58835f() string
func CodecTableSizes ¶ added in v1.1.0
func CodecTableSizes() (audio, video int)
func ComputeBrowserObjectChecks ¶ added in v1.1.0
func ComputeF58835f ¶ added in v1.1.0
func ComputeF58835f(f BrowserFeatures) string
func ComputeIfeHash ¶ added in v1.1.0
func ComputeRTTType ¶ added in v1.1.0
func ComputeSpeech ¶ added in v1.1.0
func ComputeWebGLExtensionsHash ¶ added in v1.1.0
func ComputeWebGLHash ¶ added in v1.1.0
func EncryptAES ¶
func ExtractRSAKey ¶
func PickAudioFingerprint ¶
func PickAudioFingerprint() string
func VideoCodecsExtendedHash ¶ added in v1.1.0
func VideoCodecsExtendedHash() string
func WebGLHashInput ¶ added in v1.1.0
Types ¶
type BrowserFeatures ¶ added in v1.1.0
type Config ¶
type Config struct {
PublicKey string
RSAPublicKey string
Surl string
Site string
Origin string
Referer string
SitedataLocationHref string
WindowLocationHref string
DocumentReferrer string
SecFetchSite string
DataExchangeURL string
DataExchangeRegex string
CapiVersion string
EnforcementHash string
CapiMode string
StyleTheme string
Language string
Title string
UserAgent string
Proxy string
WindowAncestorOrigins []string
WindowTreeIndex []int
WindowTreeStructure string
Jsbd string
}
type DeviceIdentity ¶
type DeviceIdentity struct {
Salt string
MachineHash string
Hash7541c2s string
MathFingerprint string
SupportedMathFuncs string
Hash6a62b2a558 string
Hashc2d2015 string
Hash05d3d24 string
Hash83eb055 string
Hash1f220c9 string
TreeStructure string
CFP int32
TZOffset int
LanguageTag string
SpeechDefaultVoice string
SpeechVoicesHash string
Languages string
FontList string
}
func NewSession ¶
func NewSession() *DeviceIdentity
func (*DeviceIdentity) String ¶
func (d *DeviceIdentity) String() string
type DeviceProfile ¶
type DeviceProfile struct {
Name string
Vendor Vendor
GPUID string
GPUName string
GLVendor string
GLRenderer string
ScreenWidth, ScreenHeight int
AvailWidth, AvailHeight int
ColorDepth int
DevicePixelRatio float64
OuterWidth, OuterHeight int
DeviceMemory int
HardwareConcurrency int
Downlink float64
RTT int
SaveData bool
}
func GenerateDevice ¶
func GenerateDevice() DeviceProfile
func (DeviceProfile) Inner ¶
func (d DeviceProfile) Inner() (w, h int)
func (DeviceProfile) WebGL ¶
func (d DeviceProfile) WebGL() WebGLFingerprint
type Item ¶
type Item struct {
Key string `json:"key"`
Value interface{} `json:"value"`
}
func BuildWebGLFields ¶ added in v1.1.0
type Option ¶
type Option func(*Config)
func WithCapiMode ¶
func WithDataExchangeRegex ¶
func WithDataExchangeURL ¶
func WithLanguage ¶
func WithOrigin ¶
func WithPublicKey ¶
func WithRSAPublicKey ¶
func WithReferer ¶
func WithUserAgent ¶
type SolveResult ¶
type Solver ¶
type Solver struct {
// contains filtered or unexported fields
}
func (*Solver) SetDataBlob ¶
func (*Solver) SetHTTPClient ¶
func (s *Solver) SetHTTPClient(c tls_client.HttpClient)
func (*Solver) Solve ¶
func (s *Solver) Solve() (*SolveResult, error)
type WebGLFingerprint ¶
Click to show internal directories.
Click to hide internal directories.