mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Merge branch 'master' of https://github.com/anthonykasza/zeek
* 'master' of https://github.com/anthonykasza/zeek: add: rdp_native_encrytped_data event I added a unit test.
This commit is contained in:
commit
7c5e74e577
8 changed files with 50 additions and 6 deletions
|
@ -0,0 +1,14 @@
|
|||
# @TEST-EXEC: zeek -r $TRACES/rdp/rdp-proprietary-encryption.pcap %INPUT >out
|
||||
# @TEST-EXEC: btest-diff out
|
||||
|
||||
@load base/protocols/rdp
|
||||
|
||||
event rdp_native_encrypted_data(c: connection, orig: bool, len: count)
|
||||
{
|
||||
print "rdp native encrypted data", orig, len;
|
||||
|
||||
if ( ! orig )
|
||||
# That's fine to stop here, we don't need to check the entire
|
||||
# encrypted conversation for the purpose of the unit test.
|
||||
terminate();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue