(self, message)
| 805 | message.command = SMB2_COM_SET_INFO |
| 806 | |
| 807 | def prepare(self, message): |
| 808 | message.data = struct.pack(self.STRUCTURE_FORMAT, |
| 809 | 33, # StructureSize. Must be 33 as mandated by [MS-SMB2] 2.2.39 |
| 810 | self.info_type, # InfoType |
| 811 | self.file_info_class, # FileInfoClass |
| 812 | len(self.data), # BufferLength |
| 813 | SMB2Message.HEADER_SIZE + self.STRUCTURE_SIZE, # BufferOffset |
| 814 | 0, # Reserved |
| 815 | self.additional_info, # AdditionalInformation |
| 816 | self.fid # FileId |
| 817 | ) + self.data |
| 818 | |
| 819 | class SMB2SetInfoResponse(Structure): |
| 820 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected