zeek/testing/btest/scripts/base/protocols/ssh/one-auth-fail-only.test
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

20 lines
454 B
Plaintext

# @TEST-EXEC: zeek -b -C -r $TRACES/ssh/sshguess.pcap %INPUT | sort >output
# @TEST-EXEC: btest-diff output
@load base/protocols/ssh
event ssh_auth_attempted(c: connection, authenticated: bool)
{
print "auth_attempted", c$uid, authenticated;
}
event ssh_auth_failed(c: connection)
{
print "auth_failed", c$uid;
}
event ssh_auth_result(c: connection, result: bool, auth_attempts: count)
{
print "auth_result", c$uid, result, auth_attempts;
}