Class: Rex::Proto::NTLM::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/proto/ntlm/base.rb

Overview

The base type needed for other modules like message and crypt

Defined Under Namespace

Classes: Field, FieldSet, Int16LE, Int32LE, Int64LE, String

Constant Summary collapse

CONST =
Rex::Proto::NTLM::Constants
Blob =
FieldSet.define {
  int32LE    :blob_signature,   {:value => CONST::BLOB_SIGN}
  int32LE    :reserved,         {:value => 0}
  int64LE    :timestamp,      {:value => 0}
  string     :challenge,      {:value => "", :size => 8}
  int32LE    :unknown1,     {:value => 0}
  string     :target_info,      {:value => "", :size => 0}
  int32LE    :unknown2,         {:value => 0}
}
SecurityBuffer =
FieldSet.define {
  int16LE   :length,        {:value => 0}
  int16LE   :allocated,     {:value => 0}
  int32LE   :offset,        {:value => 0}
}