예제 #1
0
파일: vds.py 프로젝트: Liljhon241/MITMf
class IEnumVdsObject(IRemUnknown2):
    def Next(self, celt=0xffff):
        request = IEnumVdsObject_Next()
        request['ORPCthis'] = self.get_cinstance().get_ORPCthis()
        request['ORPCthis']['flags'] = 0
        request['celt'] = celt
        try:
            resp = self.request(request, uuid = self.get_iPid())
        except Exception, e:
            resp = e.get_packet()
            # If it is S_FALSE(1) means less items were returned
            if resp['ErrorCode'] != 1:
                raise
        interfaces = list()
        for interface in resp['ppObjectArray']:
            interfaces.append(IRemUnknown2(INTERFACE(self.get_cinstance(), ''.join(interface['abData']), self.get_ipidRemUnknown(), target = self.get_target())))
        return interfaces
예제 #2
0
파일: oaut.py 프로젝트: LucaBongiorni/MITMf
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IDispatch
예제 #3
0
파일: oaut.py 프로젝트: LucaBongiorni/MITMf
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_ITypeInfo
예제 #4
0
파일: oaut.py 프로젝트: Liljhon241/MITMf
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_ITypeInfo
예제 #5
0
파일: oaut.py 프로젝트: Liljhon241/MITMf
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IDispatch
예제 #6
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssDifferentialSoftwareSnapshotMgmt
예제 #7
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssSnapshotMgmt
예제 #8
0
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssEnumObject
예제 #9
0
파일: vds.py 프로젝트: Liljhon241/MITMf
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
예제 #10
0
파일: scmp.py 프로젝트: LucaBongiorni/MITMf
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssDifferentialSoftwareSnapshotMgmt
예제 #11
0
파일: scmp.py 프로젝트: LucaBongiorni/MITMf
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssSnapshotMgmt
예제 #12
0
파일: scmp.py 프로젝트: LucaBongiorni/MITMf
 def __init__(self, interface):
     IRemUnknown2.__init__(self, interface)
     self._iid = IID_IVssEnumObject