Permalink
Browse files

Removed the option to log the password.

  • Loading branch information...
srunnels committed May 4, 2012
1 parent fefe8d9 commit b76d71a6405b7fb775c19d1096de3f8aca8888ae
Showing with 1 addition and 3 deletions.
  1. +1 −3 http-basic-auth.bro
View
@@ -15,9 +15,7 @@ event http_header(c: connection, is_orig: bool, name: string, value: string)
if (|parts| == 2)
NOTICE([$note=HTTP::Basic_Auth_Server,
$msg="Server identified on which Basic Access Authentication is in use.",
- $sub=fmt("username: %s password: %s",
- parts[1],
- HTTP::default_capture_password == F ? "Blocked" : parts[2]),
+ $sub=fmt("username: %s", parts[1]),
$conn=c,
$identifier=cat(c$id$resp_h,c$id$resp_p),
$suppress_for=1day]);

0 comments on commit b76d71a

Please sign in to comment.