Class: RubySMB::SMB1::Packet::SessionSetupLegacyRequest::DataBlock

Inherits:
DataBlock
  • Object
show all
Defined in:
lib/ruby_smb/smb1/packet/session_setup_legacy_request.rb

Overview

Represents the specific layout of the DataBlock for a RubySMB::SMB1::Packet::SessionSetupRequest Packet. Due to vagaries of character encoding and the way we currently handle NTLM authentication for the security blob, you must null-terminate the native_os and native_lan_man fields yourself if you set them away from their defaults.

Method Summary

Methods inherited from DataBlock

calculate_byte_count, #calculate_byte_count, data_fields, #field_enabled?