(self, message)
| 745 | message.command = SMB2_COM_QUERY_INFO |
| 746 | |
| 747 | def prepare(self, message): |
| 748 | message.data = struct.pack(self.STRUCTURE_FORMAT, |
| 749 | 41, # Structure size. Must be 41 as mandated by [MS-SMB2] 2.2.37 |
| 750 | self.info_type, # InfoType |
| 751 | self.file_info_class, # FileInfoClass |
| 752 | self.output_buf_len, # OutputBufferLength |
| 753 | SMB2Message.HEADER_SIZE + self.STRUCTURE_SIZE, # InputBufferOffset |
| 754 | 0, # Reserved |
| 755 | len(self.input_buf), # InputBufferLength |
| 756 | self.additional_info, # AdditionalInformation |
| 757 | self.flags, # Flags |
| 758 | self.fid # FileId |
| 759 | ) + self.input_buf |
| 760 | |
| 761 | |
| 762 | class SMB2QueryInfoResponse(Structure): |
nothing calls this directly
no outgoing calls
no test coverage detected