MCPcopy
hub / github.com/fortra/impacket / SMB2Packet

Class SMB2Packet

impacket/smb3structs.py:631–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629 )
630
631class SMB2Packet(SMBPacketBase):
632 structure = (
633 ('ProtocolID','"\xfeSMB'),
634 ('StructureSize','<H=64'),
635 ('CreditCharge','<H=0'),
636 ('Status','<L=0'),
637 ('Command','<H=0'),
638 ('CreditRequestResponse','<H=0'),
639 ('Flags','<L=0'),
640 ('NextCommand','<L=0'),
641 ('MessageID','<Q=0'),
642 ('Reserved','<L=0'),
643 ('TreeID','<L=0'),
644 ('SessionID','<Q=0'),
645 ('Signature','16s=""'),
646 ('Data',':=""'),
647 )
648
649class SMB3Packet(SMBPacketBase):
650 structure = (

Callers 14

tunnelConnectionMethod · 0.90
getSMBPacketMethod · 0.90
getNegoAnswerMethod · 0.90
processSessionSetupMethod · 0.90
getLogOffAnswerMethod · 0.90
__init__Method · 0.90
createMethod · 0.90
recvSMBMethod · 0.85
createMethod · 0.85
AuthenticateMethod · 0.85
receiveMethod · 0.85
_negotiateSessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…