ja3

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: OSL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AllHashes = "https://ja3er.com/getAllHashesJson"
	AllUas    = "https://ja3er.com/getAllUasJson"
)

Variables

This section is empty.

Functions

func NewTransport

func NewTransport(spec *tls.ClientHelloSpec) *http.Transport

NewTransport creates an http.Transport which mocks the given JA3 signature when HTTPS is used.

func Parse

func Parse(ja3 string) (*tls.ClientHelloSpec, error)

Parse creates a ClientHelloSpec based on a JA3 string.

Types

type JA3er

type JA3er struct {
	Users []struct {
		MD5   string
		Count int
		Agent string `json:"User-Agent"`
	}
	Hashes []struct {
		MD5 string
		JA3 string
	}
}

func NewJA3er

func NewJA3er(ua, hash io.Reader) (*JA3er, error)

func (JA3er) Agents

func (j JA3er) Agents(md5 string) []string

func (JA3er) JA3

func (j JA3er) JA3(md5 string) string

func (JA3er) SortUsers

func (j JA3er) SortUsers()

Jump to

Keyboard shortcuts

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