mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
added test and pcap files for smb 3.1.1 negotiate-response
This commit is contained in:
parent
4330b7922c
commit
c9cc1a55b9
3 changed files with 13 additions and 0 deletions
12
testing/btest/scripts/base/protocols/smb/smb311.test
Normal file
12
testing/btest/scripts/base/protocols/smb/smb311.test
Normal file
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: bro -b -C -r $TRACES/smb/smb311.pcap %INPUT
|
||||
# @TEST-EXEC: test ! -f dpd.log
|
||||
# @TEST-EXEC: test ! -f weird.log
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/smb
|
||||
|
||||
# Add some tests for SMB3
|
||||
event smb2_negotiate_response(c: connection, hdr: SMB2::Header, nr: SMB2::NegotiateResponse)
|
||||
{
|
||||
print fmt("smb2_negotiate_response %s -> %s:%d %s", c$id$orig_h, c$id$resp_h, c$id$resp_p, nr);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue