def test_hLsarRetrievePrivateData_hLsarStorePrivateData(self): dce, rpctransport, policyHandle = self.connect() resp0 = lsad.hLsarRetrievePrivateData(dce,policyHandle,'DPAPI_SYSTEM') #hexdump(resp0) resp = lsad.hLsarStorePrivateData(dce, policyHandle, 'BETUS', resp0) #resp.dump() resp = lsad.hLsarStorePrivateData(dce, policyHandle, 'BETUS', NULL)
def test_hLsarRetrievePrivateData_hLsarStorePrivateData(self): dce, rpctransport, policyHandle = self.connect() resp0 = lsad.hLsarRetrievePrivateData(dce,policyHandle,'DPAPI_SYSTEM') #hexdump(resp0) resp = lsad.hLsarStorePrivateData(dce, policyHandle, 'BETUS', resp0) resp.dump() resp = lsad.hLsarStorePrivateData(dce, policyHandle, 'BETUS', NULL) resp.dump()