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

Class SMBNegotiate_Request

scapy/layers/smb.py:273–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271
272
273class SMBNegotiate_Request(Packet):
274 name = "SMB Negotiate Request"
275 fields_desc = [
276 ByteField("WordCount", 0),
277 LEFieldLenField("ByteCount", None, length_of="Dialects"),
278 PacketListField(
279 "Dialects",
280 [SMB_Dialect()],
281 SMB_Dialect,
282 length_from=lambda pkt: pkt.ByteCount,
283 ),
284 ]
285
286
287bind_layers(SMB_Header, SMBNegotiate_Request, Command=0x72)

Callers 1

on_negotiateMethod · 0.90

Calls 4

ByteFieldClass · 0.90
LEFieldLenFieldClass · 0.90
PacketListFieldClass · 0.90
SMB_DialectClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…