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

Function find_dcerpc_interface

scapy/layers/dcerpc.py:1313–1320  ·  view source on GitHub ↗

Find an interface object through the name in the IDL

(name)

Source from the content-addressed store, hash-verified

1311
1312
1313def find_dcerpc_interface(name) -> DceRpcInterface:
1314 """
1315 Find an interface object through the name in the IDL
1316 """
1317 try:
1318 return next(x for x in DCE_RPC_INTERFACES.values() if x.name == name)
1319 except StopIteration:
1320 raise AttributeError("Unknown interface !")
1321
1322
1323COM_INTERFACES = {}

Callers 7

resolvesidsMethod · 0.90
sharesMethod · 0.90
get_endpointFunction · 0.90
ResolveOxid2Method · 0.90
ServerAlive2Function · 0.90
__init__Method · 0.90

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…