Example #1
0
    def test_hLsarQuerySecurityObject_hLsarSetSecurityObject(self):
        dce, rpctransport, policyHandle = self.connect()

        resp = lsad.hLsarQuerySecurityObject(dce, policyHandle, lsad.OWNER_SECURITY_INFORMATION)
        #hexdump(resp)

        resp = lsad.hLsarSetSecurityObject(dce, policyHandle, lsad.OWNER_SECURITY_INFORMATION,resp)
Example #2
0
    def test_hLsarQuerySecurityObject_hLsarSetSecurityObject(self):
        dce, rpctransport, policyHandle = self.connect()

        resp = lsad.hLsarQuerySecurityObject(dce, policyHandle, lsad.OWNER_SECURITY_INFORMATION)
        #hexdump(resp)

        resp = lsad.hLsarSetSecurityObject(dce, policyHandle, lsad.OWNER_SECURITY_INFORMATION,resp)
        resp.dump()