MCPcopy Create free account
hub / github.com/fortra/impacket / addCommand

Method addCommand

impacket/smb3structs.py:580–582  ·  view source on GitHub ↗
(self,command)

Source from the content-addressed store, hash-verified

578# Represents a SMB2/3 Packet
579class SMBPacketBase(Structure):
580 def addCommand(self,command):
581 # Pad to 8 bytes and put the offset of another SMBPacket
582 raise Exception('Implement This!')
583
584 def isValidAnswer(self, status):
585 if self['Status'] != status:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected