MCPcopy Create free account
hub / github.com/secdev/scapy / UnmarshallObjectReference

Method UnmarshallObjectReference

scapy/layers/msrpce/msdcom.py:1228–1237  ·  view source on GitHub ↗

[MS-DCOM] 3.2.4.3 Marshaling an Object Reference Unmarshall a MInterfacePointer received by the applicative layer.

(
        self, mifaceptr: MInterfacePointer, iid: ComInterface
    )

Source from the content-addressed store, hash-verified

1226 raise ValueError("No valid bindings available !")
1227
1228 def UnmarshallObjectReference(
1229 self, mifaceptr: MInterfacePointer, iid: ComInterface
1230 ):
1231 """
1232 [MS-DCOM] 3.2.4.3 Marshaling an Object Reference
1233
1234 Unmarshall a MInterfacePointer received by the applicative layer.
1235 """
1236 oid = self._UnmarshallObjref(obj=OBJREF(mifaceptr.abData), iid=iid)
1237 return self._GetObjectInstance(oid)
1238
1239 def ResolveOxid2(
1240 self, oxid: int, host: Optional[str] = None, port: Optional[int] = None

Callers

nothing calls this directly

Calls 3

_UnmarshallObjrefMethod · 0.95
_GetObjectInstanceMethod · 0.95
OBJREFClass · 0.85

Tested by

no test coverage detected