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

- Use `-b` most everywhere, it will save time. - Start some intel tests upon the input file being fully read instead of at an arbitrary time. - Improve termination condition for some sumstats/cluster tests. - Filter uninteresting output from some supervisor tests. - Test for `notice_policy.log` is no longer needed.
13 lines
537 B
Text
13 lines
537 B
Text
# @TEST-EXEC: zeek -b -r $TRACES/rdp/rdp-proprietary-encryption.pcap %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
@load base/protocols/rdp
|
|
|
|
event rdp_client_security_data(c: connection, data: RDP::ClientSecurityData)
|
|
{
|
|
print "rdp_client_security_data", data;
|
|
print " 40-bit flag", data$encryption_methods & 0x00000001 != 0;
|
|
print " 128-bit flag", data$encryption_methods & 0x00000002 != 0;
|
|
print " 56-bit flag", data$encryption_methods & 0x00000008 != 0;
|
|
print " fips flag", data$encryption_methods & 0x00000010 != 0;
|
|
}
|