Ejemplo n.º 1
0
    public LsarCloseResponse(byte[] buffer)
    {
        NDRParser parser = new NDRParser(buffer);

        PolicyHandle = new LsaHandle();
        parser.ReadStructure(PolicyHandle);
    }
Ejemplo n.º 2
0
    public EfsRpcCloseRawResponse(byte[] buffer)
    {
        NDRParser parser = new NDRParser(buffer);

        Handle = new EXImportContextHandle();
        parser.ReadStructure(Handle);
    }
    public EfsRpcOpenFileRawResponse(byte[] buffer)
    {
        NDRParser parser = new NDRParser(buffer);

        ContextHandle = new EXImportContextHandle();
        parser.ReadStructure(ContextHandle);
        Return = parser.ReadUInt32();
    }
Ejemplo n.º 4
0
        public void Read(NDRParser parser)
        {
            parser.BeginStructure();
            Use = (LsaSIDNameUse)parser.ReadUInt32();

            parser.ReadStructure(unicode_string);
            DomainIndex = parser.ReadUInt32();
            parser.EndStructure();
        }
Ejemplo n.º 5
0
        public void Read(NDRParser parser)
        {
            parser.BeginStructure();
            parser.ReadStructure(unicode_string);
            Sid = new SID();
            NDRSID NDRSid = new NDRSID(Sid);

            parser.ReadEmbeddedStructureFullPointer(ref NDRSid);
            parser.EndStructure();
        }
    public LsarLookupSidsResponse(byte[] buffer)
    {
        NDRParser parser = new NDRParser(buffer);

        parser.BeginStructure();
        parser.ReadEmbeddedStructureFullPointer(ref DomainList);
        parser.EndStructure();

        TranslatedSids = new LsaTranslatedArray <LsaTranslatedName>();
        parser.ReadStructure(TranslatedSids);

        Count = parser.ReadUInt32();

        parser.EndStructure();
    }