mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00

The current implementation would only log, if the password contains a colon, the part before the first colon (e.g., the password `password:password` would be logged as `password`). A test has been added to confirm the expected behaviour.
8 lines
236 B
Text
8 lines
236 B
Text
# Authorization: Basic password has a colon in its value
|
|
#
|
|
# @TEST-EXEC: zeek -b -r $TRACES/http/basic-auth-with-colon.trace %INPUT
|
|
# @TEST-EXEC: btest-diff http.log
|
|
|
|
@load base/protocols/http
|
|
|
|
redef HTTP::default_capture_password = T;
|