Documentation
¶
Overview ¶
Package fingerprints implements the fingerprints library for the Crowler
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler ¶
Package fingerprints implements the fingerprints library for the Crowler
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CityHash64 ¶
CityHash64 computes the CityHash64 of the given data
Types ¶
type BLAKE2 ¶
type BLAKE2 struct{}
BLAKE2 implements the Fingerprint interface for BLAKE2 fingerprints.
type CityHash ¶
type CityHash struct{}
CityHash implements the Fingerprint interface for CityHash fingerprints.
type CustomTLS ¶
type CustomTLS struct{}
CustomTLS implements the Fingerprint interface for custom TLS fingerprints.
type Fingerprint ¶
Fingerprint is the interface that wraps the basic Compute method.
func FingerprintFactory ¶
func FingerprintFactory(fType FingerprintType) (Fingerprint, error)
FingerprintFactory creates an instance of a Fingerprint implementation.
type FingerprintType ¶
type FingerprintType int
FingerprintType represents the type of fingerprint algorithm.
const ( // TypeJA3 represents the JA3 fingerprint type. TypeJA3 FingerprintType = iota // TypeJA3S represents the JA3S fingerprint type. TypeJA3S // TypeHASSH represents the HASSH fingerprint type. TypeHASSH // TypeHASSHServer represents the HASSHServer fingerprint type. TypeHASSHServer // TypeTLSH represents the TLSH fingerprint type. TypeTLSH // TypeSimHash represents the SimHash fingerprint type. TypeSimHash // TypeMinHash represents the MinHash fingerprint type. TypeMinHash // TypeBLAKE2 represents the BLAKE2 fingerprint type. TypeBLAKE2 // TypeSHA256 represents the SHA256 fingerprint type. TypeSHA256 // TypeCityHash represents the CityHash fingerprint type. TypeCityHash // TypeMurmurHash represents the MurmurHash fingerprint type. TypeMurmurHash // TypeCustomTLS represents the CustomTLS fingerprint type. TypeCustomTLS // TypeJARM represents the JARM fingerprint type. TypeJARM )
type HASSHServer ¶
type HASSHServer struct{}
HASSHServer implements the Fingerprint interface for HASSHServer fingerprints.
func (HASSHServer) Compute ¶
func (h HASSHServer) Compute(data string) string
Compute computes the HASSHServer fingerprint of a given data.
type JA4 ¶ added in v0.9.5
type JA4 struct {
Version uint16
Ciphers []uint16
Extensions []uint16
SupportedGroups []uint16
SignatureAlgorithms []uint16
SNI string
ALPN []string
}
JA4 implements the Fingerprint interface for JA4 fingerprints.
type JA4S ¶ added in v0.9.5
type JA4S struct {
Version uint16
Ciphers []uint16
Extensions []uint16
SupportedGroups []uint16
SignatureAlgorithms []uint16
SNI string
ALPN []string
}
JA4S implements the Fingerprint interface for JA4S fingerprints.
type MinHash ¶
type MinHash struct {
// contains filtered or unexported fields
}
MinHash implements the Fingerprint interface for MinHash fingerprints.
func NewMinHash ¶
NewMinHash creates a new MinHash fingerprint with the given number of hashes.
type MurmurHash ¶
type MurmurHash struct{}
MurmurHash implements the Fingerprint interface for MurmurHash fingerprints.
func (MurmurHash) Compute ¶
func (m MurmurHash) Compute(data string) string
Compute computes the MurmurHash fingerprint of a given data.
type SHA256 ¶
type SHA256 struct{}
SHA256 implements the Fingerprint interface for SHA-256 fingerprints.
type SimHash ¶
type SimHash struct{}
SimHash implements the Fingerprint interface for SimHash fingerprints.