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

Class SMBNegotiate_Response_Extended_Security

scapy/layers/smb.py:434–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432
433
434class SMBNegotiate_Response_Extended_Security(_SMBNegotiate_Response):
435 name = "SMB Negotiate Extended Security Response (SMB)"
436 WordCount = 0x11
437 fields_desc = SMBNegotiate_Response_NoSecurity.fields_desc[:12] + [
438 LEFieldLenField(
439 "ByteCount", None, length_of="SecurityBlob", adjust=lambda _, x: x + 16
440 ),
441 SMBNegotiate_Response_NoSecurity.fields_desc[13],
442 UUIDField("GUID", None, uuid_fmt=UUIDField.FORMAT_LE),
443 PacketLenField(
444 "SecurityBlob", None, GSSAPI_BLOB, length_from=lambda x: x.ByteCount - 16
445 ),
446 ]
447
448
449bind_top_down(

Callers

nothing calls this directly

Calls 3

LEFieldLenFieldClass · 0.90
UUIDFieldClass · 0.90
PacketLenFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…