(self, message)
| 331 | STRUCTURE_SIZE = struct.calcsize(STRUCTURE_FORMAT) |
| 332 | |
| 333 | def decode(self, message): |
| 334 | assert message.command == SMB2_COM_TREE_CONNECT |
| 335 | |
| 336 | if message.status == 0: |
| 337 | struct_size, self.share_type, _, \ |
| 338 | self.share_flags, self.capabilities, self.maximal_access \ |
| 339 | = struct.unpack(self.STRUCTURE_FORMAT, message.raw_data[SMB2Message.HEADER_SIZE:SMB2Message.HEADER_SIZE+self.STRUCTURE_SIZE]) |
| 340 | |
| 341 | |
| 342 | class SMB2CreateRequest(Structure): |
nothing calls this directly
no outgoing calls
no test coverage detected