Documentation ¶
Index ¶
- func BrowserToClientHelloSpec(browser *device_utils.Browser, extensionMapFunc ExtensionMapFunc) (*utls.ClientHelloSpec, error)
- func CreateSpecWithJA3Str(ja3Str string) (clientHelloSpec utls.ClientHelloSpec, err error)
- func CreateSpecWithTLSFingerprint(fingerprint *device_utils.Browser_TLSFingerprint) (clientHelloSpec utls.ClientHelloSpec, err error)
- func DefaultExtensionMapV2() map[int32]utls.TLSExtension
- func IsGREASEUint16(v uint16) bool
- type ExtensionMapFunc
- type Ja3SpoofingOptionV2
- type ProxyOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BrowserToClientHelloSpec ¶ added in v0.0.2
func BrowserToClientHelloSpec(browser *device_utils.Browser, extensionMapFunc ExtensionMapFunc) (*utls.ClientHelloSpec, error)
func CreateSpecWithJA3Str ¶ added in v0.0.5
func CreateSpecWithJA3Str(ja3Str string) (clientHelloSpec utls.ClientHelloSpec, err error)
func CreateSpecWithTLSFingerprint ¶ added in v0.0.10
func CreateSpecWithTLSFingerprint(fingerprint *device_utils.Browser_TLSFingerprint) (clientHelloSpec utls.ClientHelloSpec, err error)
func DefaultExtensionMapV2 ¶ added in v0.0.2
func DefaultExtensionMapV2() map[int32]utls.TLSExtension
func IsGREASEUint16 ¶ added in v0.0.5
Types ¶
type ExtensionMapFunc ¶ added in v0.0.2
type ExtensionMapFunc func() map[int32]utls.TLSExtension
type Ja3SpoofingOptionV2 ¶ added in v0.0.2
type Ja3SpoofingOptionV2 struct { TLSConfig *tls.Config ClientHelloSpec *utls.ClientHelloSpec Browser *device_utils.Browser ClientHelloID *utls.ClientHelloID ExtensionMap func() map[int32]utls.TLSExtension IsHTTP1 bool }
func NewJa3SpoofingOptionV2 ¶ added in v0.0.2
func NewJa3SpoofingOptionV2(clientHelloSpec *utls.ClientHelloSpec, clientHelloId *utls.ClientHelloID) *Ja3SpoofingOptionV2
type ProxyOption ¶ added in v0.0.2
type ProxyOption struct {
ProxyURL string
}
func NewProxyOption ¶ added in v0.0.2
func NewProxyOption(proxyURL string) *ProxyOption
Click to show internal directories.
Click to hide internal directories.