Skip to content

Commit

Permalink
Update openssh_regex.go (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
angrieralien authored Jun 26, 2023
1 parent 60e3bbd commit f3dab41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processors/sshd/openssh_regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ var (
//
// logit("Invalid user %.100s from %.100s port %d",
// user, ssh_remote_ipaddr(ssh), ssh_remote_port(ssh));
invalidUserRE = regexp.MustCompile(`Invalid user (?P<Username>\w+) from (?P<Source>\S+) port (?P<Port>\d+)`)
invalidUserRE = regexp.MustCompile(`Invalid user (?P<Username>\S+) from (?P<Source>\S+) port (?P<Port>\d+)`)

// notInAllowUsersRE matches the sshd AllowUsers violation message,
// allowing us to extract information about the login violation.
Expand Down

0 comments on commit f3dab41

Please sign in to comment.