Make enc_part value from kerberos response available to scripts

This commit is contained in:
Philipp Tekeser-Glasz 2025-01-31 12:58:14 +00:00
parent fdf887ce3b
commit 135e2f9c67
6 changed files with 142 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# This test prints the enc_part value from the KRB::KDC_Response
# @TEST-EXEC: zeek -b -r $TRACES/krb/kinit.trace %INPUT > output
# @TEST-EXEC: btest-diff output
@load base/protocols/krb
event krb_as_response(c: connection, rep: KRB::KDC_Response)
{
print "as_response", c$uid;
print rep$enc_part;
}