Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/lib/msf/util/dot_net_deserialization/enums.rb
Views: 11784
module Msf1module Util2module DotNetDeserialization3module Enums45#6# .NET Serialization Enumerations7#8BinaryTypeEnum = {9# see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrbf/054e5c58-be21-4c86-b1c3-f6d3ce17ec7210Primitive: 0,11String: 1,12Object: 2,13SystemClass: 3,14Class: 4,15ObjectArray: 5,16StringArray: 6,17PrimitiveArray: 718}1920PrimitiveTypeEnum = {21# see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrbf/4e77849f-89e3-49db-8fb9-e77ee4bc721422Boolean: 1,23Byte: 2,24Char: 3,25Decimal: 5,26Double: 6,27Int16: 7,28Int32: 8,29Int64: 9,30SByte: 10,31Single: 11,32TimeSpan: 12,33DateTime: 13,34UInt16: 14,35UInt32: 15,36UInt64: 16,37Null: 17,38String: 1839}4041RecordTypeEnum = {42# see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrbf/954a0657-b901-4813-9398-4ec732fe8b3243SerializedStreamHeader: 0,44ClassWithId: 1,45SystemClassWithMembers: 2,46ClassWithMembers: 3,47SystemClassWithMembersAndTypes: 4,48ClassWithMembersAndTypes: 5,49BinaryObjectString: 6,50BinaryArray: 7,51MemberPrimitiveTyped: 8,52MemberReference: 9,53ObjectNull: 10,54MessageEnd: 11,55BinaryLibrary: 12,56ObjectNullMultiple256: 13,57ObjectNullMultiple: 14,58ArraySinglePrimitive: 15,59ArraySingleObject: 16,60ArraySingleString: 17,61MethodCall: 21,62MethodReturn: 2263}6465end66end67end68end697071