Module: RubySMB::Dcerpc::Ndr

Defined in:
lib/ruby_smb/dcerpc/ndr.rb

Defined Under Namespace

Modules: ArrayClassPlugin, ArrayPlugin, ConfClassPlugin, ConfPlugin, ConfStringPlugin, ConstructedTypePlugin, PointerClassPlugin, PointerPlugin, StringClassPlugin, StructPlugin, TopLevelPlugin, VarPlugin, VarStringPlugin Classes: NdrBoolean, NdrBooleanPtr, NdrByteArrayPtr, NdrByteConfArrayPtr, NdrChar, NdrCharPtr, NdrConfArray, NdrConfVarArray, NdrConfVarString, NdrConfVarStringz, NdrConfVarWideString, NdrConfVarWideStringz, NdrContextHandle, NdrEnum, NdrFileTime, NdrFileTimePtr, NdrFixArray, NdrFixedByteArray, NdrStringPtr, NdrStringzPtr, NdrStruct, NdrVarArray, NdrVarString, NdrVarStringz, NdrVarWideString, NdrVarWideStringz, NdrWideChar, NdrWideStringPtr, NdrWideStringzPtr, TypeSerialization1, TypeSerialization1CommonTypeHeader, TypeSerialization1PrivateHeader, UuidPtr

Constant Summary collapse

UUID =

NDR Syntax

'8a885d04-1ceb-11c9-9fe8-08002b104860'
VER_MAJOR =
2
VER_MINOR =
0
INITIAL_REF_ID =

Windows SMB client uses 0x00020000 as an initial reference ID, but it is rejected by the server on the Windows Server 2003. On this version, only 0x00000001 seems to be accepted. So, we need to use this value to maintain compatibility.

0x00000001