MCPcopy Index your code
hub / github.com/secdev/scapy / FileStandardInformation

Class FileStandardInformation

scapy/layers/smb2.py:741–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739
740
741class FileStandardInformation(Packet):
742 fields_desc = [
743 LELongField("AllocationSize", 4096),
744 LELongField("EndOfFile", 0),
745 LEIntField("NumberOfLinks", 1),
746 ByteField("DeletePending", 0),
747 ByteField("Directory", 0),
748 ShortField("Reserved", 0),
749 ]
750
751 def default_payload_class(self, s):
752 return conf.padding_layer
753
754
755# [MS-FSCC] 2.4.43 FileStreamInformation

Callers 2

FileAllInformationClass · 0.85

Calls 4

LELongFieldClass · 0.90
LEIntFieldClass · 0.90
ByteFieldClass · 0.90
ShortFieldClass · 0.90

Tested by

no test coverage detected