Documentation
¶
Overview ¶
Package mtslx provides functions for scanning TLS traffic and computing JA3/JA3S fingerprints from PCAP files or live network interfaces. It wraps the dreadl0ck/ja3 and dreadl0ck/tlsx libraries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadInterface ¶
func ReadInterface(iface string, out io.Writer, separator string, ja3s bool, asJSON bool, snaplen int, promisc bool, timeout time.Duration)
ReadInterface captures packets from the named network interface and writes JA3 fingerprints to out. If asJSON is true the results are written as newline-separated JSON objects, otherwise CSV is used with the given separator. When ja3s is true, server-side fingerprints (JA3S) are also computed.
Types ¶
type Record ¶
Record contains all information for a calculated JA3 fingerprint. It is re-exported from the ja3 package for convenience.
func RetrieveIPTLS ¶
func RetrieveIPTLS(ip string, port int, flagInterface string, timeout time.Duration) (Record, error)
RetrieveIPTLS captures TLS traffic to the specified IP and port from the default network interface and returns the first JA3 fingerprint found. The capture will timeout after the specified duration if no matching traffic is seen.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
mtslx
command
mtslx is a command-line tool for scanning TLS traffic and computing JA3/JA3S fingerprints from PCAP files or live network interfaces.
|
mtslx is a command-line tool for scanning TLS traffic and computing JA3/JA3S fingerprints from PCAP files or live network interfaces. |