MCPcopy Create free account
hub / github.com/fortra/impacket / test_RemQueryInterface

Method test_RemQueryInterface

tests/dcerpc/test_dcomrt.py:195–200  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

193 self.set_transport_config()
194
195 def test_RemQueryInterface(self):
196 dcom = dcomrt.DCOMConnection(self.machine, self.username, self.password, self.domain)
197 iInterface = dcom.CoCreateInstanceEx(comev.CLSID_EventSystem, comev.IID_IEventSystem)
198 iEventSystem = comev.IEventSystem(iInterface)
199 iEventSystem.RemQueryInterface(1, (comev.IID_IEventSystem,))
200 dcom.disconnect()
201
202 def test_RemRelease(self):
203 dcom = dcomrt.DCOMConnection(self.machine, self.username, self.password, self.domain)

Callers

nothing calls this directly

Calls 3

CoCreateInstanceExMethod · 0.95
disconnectMethod · 0.95
RemQueryInterfaceMethod · 0.80

Tested by

no test coverage detected