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

Class DceRpc5Bind

scapy/layers/dcerpc.py:1062–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1060
1061
1062class DceRpc5Bind(_DceRpcPayload):
1063 name = "DCE/RPC v5 - Bind"
1064 fields_desc = [
1065 _EField(ShortField("max_xmit_frag", 5840)),
1066 _EField(ShortField("max_recv_frag", 8192)),
1067 _EField(IntField("assoc_group_id", 0)),
1068 # p_cont_list_t
1069 _EField(
1070 FieldLenField("n_context_elem", None, count_of="context_elem", fmt="B")
1071 ),
1072 StrFixedLenField("reserved", 0, length=3),
1073 EPacketListField(
1074 "context_elem",
1075 [],
1076 DceRpc5Context,
1077 endianness_from=_dce_rpc_endianness,
1078 count_from=lambda pkt: pkt.n_context_elem,
1079 ),
1080 ]
1081
1082
1083bind_layers(DceRpc5, DceRpc5Bind, ptype=11)

Callers

nothing calls this directly

Calls 6

ShortFieldClass · 0.90
IntFieldClass · 0.90
FieldLenFieldClass · 0.90
StrFixedLenFieldClass · 0.90
EPacketListFieldClass · 0.90
_EFieldClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…