feat(ja3): Update JA3 fingerprinting source and parsing

This commit is contained in:
2025-11-19 15:44:24 +11:00
parent 567048911d
commit 65b46e1975
3 changed files with 49 additions and 4 deletions

View File

@@ -83,3 +83,36 @@ type IndexResponse struct {
type HealthResponse struct {
Status string `json:"status"`
}
type Ja3 struct {
Ja3 string `json:"ja3"`
Ja3N string `json:"ja3n"`
Ja3Digest string `json:"ja3_digest"`
Ja3NDigest string `json:"ja3n_digest"`
ScrapflyFp string `json:"scrapfly_fp"`
ScrapflyFpDigest string `json:"scrapfly_fp_digest"`
TLS struct {
Version string `json:"version"`
Ciphers []string `json:"ciphers"`
Curves []string `json:"curves"`
Extensions []string `json:"extensions"`
Points []string `json:"points"`
Protocols []string `json:"protocols"`
Versions []string `json:"versions"`
HandshakeDuration string `json:"handshake_duration"`
IsSessionResumption bool `json:"is_session_resumption"`
SessionTicketSupported bool `json:"session_ticket_supported"`
SupportSecureRenegotiation bool `json:"support_secure_renegotiation"`
SupportedTLSVersions []int `json:"supported_tls_versions"`
SupportedProtocols []string `json:"supported_protocols"`
SignatureAlgorithms []int `json:"signature_algorithms"`
PskKeyExchangeMode string `json:"psk_key_exchange_mode"`
CertCompressionAlgorithms string `json:"cert_compression_algorithms"`
EarlyData bool `json:"early_data"`
UsingPsk bool `json:"using_psk"`
SelectedProtocol string `json:"selected_protocol"`
SelectedCurveGroup int `json:"selected_curve_group"`
SelectedCipherSuite int `json:"selected_cipher_suite"`
KeyShares []int `json:"key_shares"`
} `json:"tls"`
}