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

Class CLDAP

scapy/layers/ldap.py:1149–1160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1147
1148
1149class CLDAP(ASN1_Packet):
1150 ASN1_codec = ASN1_Codecs.BER
1151 ASN1_root = ASN1F_SEQUENCE(
1152 LDAP.ASN1_root.seq[0], # messageID
1153 ASN1F_optional(
1154 LDAPDN("user", ""),
1155 ),
1156 LDAP.ASN1_root.seq[1], # protocolOp
1157 )
1158
1159 def answers(self, other):
1160 return isinstance(other, CLDAP) and other.messageID == self.messageID
1161
1162
1163bind_layers(CLDAP, CLDAP)

Callers 2

make_replyMethod · 0.85
dclocatorFunction · 0.85

Calls 2

ASN1F_SEQUENCEClass · 0.90
ASN1F_optionalClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…