(self, message)
| 279 | return (self.session_flags & 0x0002) > 0 # SMB2_SESSION_FLAG_IS_NULL |
| 280 | |
| 281 | def decode(self, message): |
| 282 | assert message.command == SMB2_COM_SESSION_SETUP |
| 283 | |
| 284 | struct_size, self.session_flags, security_blob_offset, security_blob_len \ |
| 285 | = struct.unpack(self.STRUCTURE_FORMAT, message.raw_data[SMB2Message.HEADER_SIZE:SMB2Message.HEADER_SIZE+self.STRUCTURE_SIZE]) |
| 286 | |
| 287 | self.security_blob = message.raw_data[security_blob_offset:security_blob_offset+security_blob_len] |
| 288 | |
| 289 | |
| 290 | class SMB2TreeConnectRequest(Structure): |
nothing calls this directly
no outgoing calls
no test coverage detected