Create Disposition
SMB Dialect Compatibility
Device Types
File and Device Attributes
A raw NetBIOS session template
Wildcard NetBIOS name
SMB_COM_NT_TRANSACT Subcommands
File Access
Open Modes
Shared Access
The SMB2 header template
SMB Version 2 Commands
A basic SMB template to read all responses
SMB Commands
The SMB header template
SMB_COM_TRANSACTION2 QUERY_FS_INFO information levels
SMB_COM_TRANSACTION2 QUERY_PATH_INFO information levels
A SMB template for SMB Dialect negotiation responses (ERROR)
A SMB template for SMB Dialect negotiation responses (LANMAN)
A SMB template for SMB Session Setup requests (When extended security is being used)
A SMB template for SMB Session Setup responses (When extended security is being used)
A SMB template for SMB Session Setup responses (LANMAN/NTLMV1)
SMB Error Codes
SMB_COM_TRANSACTION2 Commands
Create a NetBIOS session packet template
# File lib/rex/proto/smb/constants.rb, line 351 def self.make_nbs (template) Rex::Struct2::CStructTemplate.new( [ 'uint8', 'Type', 0 ], [ 'uint8', 'Flags', 0 ], [ 'uint16n', 'PayloadLen', 0 ], [ 'template', 'Payload', template ] ).create_restraints( [ 'Payload', 'PayloadLen', nil, true ] ) end
Generated with the Darkfish Rdoc Generator 2.