mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Merge branch '555-smb3-negotiate-context-fix' of https://github.com/mad/zeek
- Fixed the context list padding to only be used for dialect 0x0311. The new test case includes an example where parsing the optional padding would fail for another dialect. * '555-smb3-negotiate-context-fix' of https://github.com/mad/zeek: Fix for smb3 negotiate context
This commit is contained in:
commit
289a1e2e8e
6 changed files with 17 additions and 3 deletions
|
@ -0,0 +1,9 @@
|
|||
# @TEST-EXEC: zeek -b -r $TRACES/smb/smb3_negotiate_context.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/smb
|
||||
|
||||
event smb2_negotiate_response(c: connection , hdr: SMB2::Header , response: SMB2::NegotiateResponse )
|
||||
{
|
||||
print response;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue