MCPcopy
hub / github.com/dreadl0ck/netcap / sshReader

Struct sshReader

decoder/stream/ssh/ssh_reader.go:44–55  ·  view source on GitHub ↗

* * SSH - The Secure Shell Protocol */

Source from the content-addressed store, hash-verified

42 */
43
44type sshReader struct {
45 conversation *core.ConversationInfo
46
47 clientIdent string
48 serverIdent string
49 clientKexInit *KexInitMsg
50 serverKexInit *KexInitMsg
51 software []*types.Software
52 ja4sshData *ja4.SSHStreamData
53 ja4sshFingerprint string
54 ja4sshSessionType string
55}
56
57// New returns a new SSH reader.
58func (h *sshReader) New(conversation *core.ConversationInfo) core.StreamDecoderInterface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected