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

Class SMB_Dialect

scapy/layers/smb.py:262–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260
261
262class SMB_Dialect(Packet):
263 name = "SMB Dialect"
264 fields_desc = [
265 ByteField("BufferFormat", 0x02),
266 StrNullField("DialectString", "NT LM 0.12"),
267 ]
268
269 def default_payload_class(self, payload):
270 return conf.padding_layer
271
272
273class SMBNegotiate_Request(Packet):

Callers 2

on_negotiateMethod · 0.90

Calls 2

ByteFieldClass · 0.90
StrNullFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…