ja3c

package
v1.0.66 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSpecWithStr

func CreateSpecWithStr(ja3Str string) (utls.ClientHelloSpec, error)

CreateSpecWithStr creates a ClientHelloSpec based on a JA3 string.

func ProcessSpec

func ProcessSpec(ja3Spec utls.ClientHelloSpec) utls.ClientHelloSpec

func SetAlpnProtocolToHTTP1

func SetAlpnProtocolToHTTP1(utlsSpec *utls.ClientHelloSpec)

setAlpnProtocolToHTTP1 updates the ALPN protocols of the provided ClientHelloSpec to include "http/1.1".

It modifies the ALPN protocols of the first ALPNExtension found in the extensions of the provided spec. If no ALPNExtension is found, it does nothing.

Note that this function modifies the provided spec in-place.

Types

This section is empty.

Jump to

Keyboard shortcuts

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