diff options
author | Luca Deri <deri@ntop.org> | 2019-11-21 19:36:01 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-11-21 19:36:01 +0100 |
commit | fc82cdfa4ac11e34725319620cdc549cb1b700d0 (patch) | |
tree | 14427bfbf0ba79a1acb632bb2634edde5b378d2a /example/reader_util.c | |
parent | e98b994a39ee829058265353473d773642c889cf (diff) |
Implemented telnet password export
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index d91c0ed5f..88d64126e 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -997,6 +997,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl } } else if(is_ndpi_proto(flow, NDPI_PROTOCOL_TELNET)) { snprintf(flow->telnet.username, sizeof(flow->telnet.username), "%s", flow->ndpi_flow->protos.telnet.username); + snprintf(flow->telnet.password, sizeof(flow->telnet.password), "%s", flow->ndpi_flow->protos.telnet.password); } else if(is_ndpi_proto(flow, NDPI_PROTOCOL_SSH)) { snprintf(flow->ssh_tls.client_info, sizeof(flow->ssh_tls.client_info), "%s", flow->ndpi_flow->protos.ssh.client_signature); |