mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Enable SMB by default by moving scripts from policy/ to base/
This commit is contained in:
parent
7fdf621a1d
commit
a04c76c035
33 changed files with 633 additions and 552 deletions
|
@ -8,4 +8,4 @@
|
|||
# @TEST-EXEC: btest-diff-rst scripts.base.protocols.krb
|
||||
|
||||
@load base/protocols/krb
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# @TEST-EXEC: bro -C -r $TRACES/smb/dssetup_DsRoleGetPrimaryDomainInformation_standalone_workstation.cap %INPUT
|
||||
# @TEST-EXEC: [ ! -f dce_rpc.log ]
|
||||
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
||||
# The DCE_RPC analyzer is a little weird since it's instantiated
|
||||
# by the SMB analyzer directly in some cases. Care needs to be
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#@TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/ntlm
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
||||
# Just verify that the session key is grabbed correctly from NTLM
|
||||
# carried raw over SMB.
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# @TEST-EXEC: btest-diff dce_rpc.log
|
||||
|
||||
@load base/protocols/dce-rpc
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#@TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/smb
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
||||
# Check that smb1_transaction requests are parsed correctly
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#@TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/smb
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
||||
# Check that smb1_transaction_response requests are parsed correctly
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#@TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/smb
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
||||
# Check that smb1_transaction_secondary requests are parsed correctly
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#@TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/smb
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
||||
# Check that smb1_transaction2 requests are parsed correctly
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#@TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/smb
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
||||
# Check that smb1_transaction2_secondary requests are parsed correctly
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# @TEST-EXEC: bro -b -r $TRACES/smb/smb1.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff smb_files.log
|
||||
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# @TEST-EXEC: test ! -f weird.log
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load policy/protocols/smb
|
||||
@load base/protocols/smb
|
||||
|
||||
# Add some tests for SMB2 create request and response.
|
||||
event smb2_create_request(c: connection, hdr: SMB2::Header, request: SMB2::CreateRequest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue