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/ndpiReader.c | |
parent | e98b994a39ee829058265353473d773642c889cf (diff) |
Implemented telnet password export
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index b26b146c8..ae79bc526 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1089,6 +1089,7 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa fprintf(out, "[< 1 sec]"); if(flow->telnet.username[0] != '\0') fprintf(out, "[Username: %s]", flow->telnet.username); + if(flow->telnet.password[0] != '\0') fprintf(out, "[Password: %s]", flow->telnet.password); if(flow->host_server_name[0] != '\0') fprintf(out, "[Host: %s]", flow->host_server_name); if(flow->info[0] != '\0') fprintf(out, "[%s]", flow->info); |