Class: PacketGen::Plugin::NTLM::Challenge

Inherits:
PacketGen::Plugin::NTLM show all
Defined in:
lib/packetgen/plugin/ntlm/challenge.rb

Overview

NTLM Challenge message

Constant Summary

Constants inherited from PacketGen::Plugin::NTLM

AVPAIR_TYPES, EOLAvPair, Int32leAvPair, SIGNATURE, StringAvPair, TYPES, TimestampAvPair, VOID_CHALLENGE, VOID_VERSION

Negotiate flags collapse

Instance Attribute Summary collapse

Attributes inherited from PacketGen::Plugin::NTLM

#payload, #signature, #type

Method Summary

Methods inherited from PacketGen::Plugin::NTLM

#calc_length, define_in_payload, define_negotiate_flags, #initialize, read, #read, #to_s

Constructor Details

This class inherits a constructor from PacketGen::Plugin::NTLM

Instance Attribute Details

#always_sign?Boolean

Also known as flags_m?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#anonymous?Boolean

Also known as flags_j?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#challengeString

64-bit value containing the NTLM challenge.



111
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 111

define_field_before :payload, :challenge, PacketGen::Types::String, static_length: 8, default: VOID_CHALLENGE

#datagram?Boolean

Also known as flags_f?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#ext_session_security?Boolean

Also known as flags_p?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#flagsInteger

Negotiate flags



# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 34


#identify?Boolean

Also known as flags_q



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#key_exch?Boolean

Also known as flags_v?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#lm_key?Boolean

Also known as flags_g?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#nego128?Boolean

Also known as flags_u?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#nego56?Boolean

Also known as flags_w?.



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#non_nt_session_key?Boolean

Also known as flags_r?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#ntlm?Boolean

Also known as flags_h?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#oem?Boolean

Also known as flags_b?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#oem_domain_supplied?Boolean

Also known as flags_k?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#oem_target_info_supplied?Boolean

Also known as flags_l?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#request_target?Boolean

Also known as flags_c?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#reservedInteger

64-bit reserved field



115
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 115

define_field_before :payload, :reserved, PacketGen::Types::Int64le

#seal?Boolean

Also known as flags_e?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#sign?Boolean

Also known as flags_d?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#target_infoArrayOfAvPair



132
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 132

define_in_payload :target_info, ArrayOfAvPair

#target_info?Boolean

Also known as flags_s?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#target_info_lenInteger

16-bit unsigned integer that defines the size in bytes of #target_info in PacketGen::Plugin::NTLM#payload. This field is set only if #target_info? is set.



132
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 132

define_in_payload :target_info, ArrayOfAvPair

#target_info_maxlenInteger

16-bit unsigned integer that should be equal to #target_info_len.



132
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 132

define_in_payload :target_info, ArrayOfAvPair

#target_info_offsetInteger

A 32-bit unsigned integer that defines the offset, in bytes, from the beginning of the CHALLENGE MESSAGE to #target_info in PacketGen::Plugin::NTLM#payload. This field is set only if #target_info? is set.



132
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 132

define_in_payload :target_info, ArrayOfAvPair

#target_nameSMB::String

Name of the server authentication realm. Must be expressed in the negotiated character set.



32
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 32

define_in_payload :target_name, SMB::String, null_terminated: false

#target_name_lenInteger

16-bit unsigned integer that defines the size in bytes of #target_name in PacketGen::Plugin::NTLM#payload. This field is set only if #request_target? is set.



32
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 32

define_in_payload :target_name, SMB::String, null_terminated: false

#target_name_maxlenInteger

16-bit unsigned integer that should be equal to #target_name_len.



32
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 32

define_in_payload :target_name, SMB::String, null_terminated: false

#target_name_offsetInteger

A 32-bit unsigned integer that defines the offset, in bytes, from the beginning of the CHALLENGE MESSAGE to #target_name in PacketGen::Plugin::NTLM#payload. This field is set only if #request_target? is set.



32
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 32

define_in_payload :target_name, SMB::String, null_terminated: false

#target_type_domain?Boolean

Also known as flags_n?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#target_type_server?Boolean

Also known as flags_o?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#unicode?Boolean

Also known as flags_a?



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags

#versionString

8-byte version information



137
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 137

define_field_before :payload, :version, PacketGen::Types::String, static_length: 8, default: VOID_VERSION

#version?Integer

Also known as flags_t



105
# File 'lib/packetgen/plugin/ntlm/challenge.rb', line 105

define_negotiate_flags