mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Honor no plaintext password logging for PASS cmd
This commit is contained in:
parent
989730c241
commit
0e926afbc1
11 changed files with 84 additions and 9 deletions
|
@ -0,0 +1,12 @@
|
|||
# @TEST-DOC: Adding PASS to logged commands should hide the password in password and arg column
|
||||
# @TEST-EXEC: zeek -b -Cr $TRACES/ftp/ftp-password-pass-command.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff conn.log
|
||||
# @TEST-EXEC: btest-diff ftp.log
|
||||
# @TEST-EXEC: test ! -f reporter.log
|
||||
|
||||
@load base/protocols/conn
|
||||
@load base/protocols/ftp
|
||||
|
||||
redef FTP::logged_commands += { "USER", "PASS", "SYST", "QUIT" };
|
||||
|
||||
redef FTP::default_capture_password = F;
|
Loading…
Add table
Add a link
Reference in a new issue