예제 #1
0
    def test_hBaseRegRestoreKey(self):
        dce, rpctransport, phKey = self.connect()

        try:
            resp = rrp.hBaseRegRestoreKey(dce, phKey, 'SOFTWARE\x00')
            resp.dump()
        except Exception, e:
            if str(e).find('ERROR_FILE_NOT_FOUND') < 0:
                raise
예제 #2
0
    def test_hBaseRegRestoreKey(self):
        dce, rpctransport, phKey = self.connect()

        try:
            resp = rrp.hBaseRegRestoreKey(dce, phKey, 'SOFTWARE\x00')
            resp.dump()
        except Exception as e:
            if str(e).find('ERROR_FILE_NOT_FOUND') < 0:
                raise