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

        resp0 = lsad.hLsarOpenSecret(dce, policyHandle, 'DPAPI_SYSTEM')
        #resp0.dump()

        resp = lsad.hLsarQuerySecret(dce, resp0['SecretHandle'])
Example #2
0
    def test_hLsarQuerySecret(self):
        dce, rpctransport, policyHandle = self.connect()

        resp0 = lsad.hLsarOpenSecret(dce, policyHandle, 'DPAPI_SYSTEM')
        #resp0.dump()

        resp = lsad.hLsarQuerySecret(dce, resp0['SecretHandle'])