(self, message)
| 243 | message.command = SMB2_COM_SESSION_SETUP |
| 244 | |
| 245 | def prepare(self, message): |
| 246 | message.data = struct.pack(self.STRUCTURE_FORMAT, |
| 247 | 25, # Structure size. Must be 25 as mandated by [MS-SMB2] 2.2.5 |
| 248 | 0, # VcNumber |
| 249 | 0x01, # Security mode |
| 250 | 0x00, # Capabilities |
| 251 | 0, # Channel |
| 252 | SMB2Message.HEADER_SIZE + self.STRUCTURE_SIZE, |
| 253 | len(self.security_blob), |
| 254 | 0) + self.security_blob |
| 255 | |
| 256 | |
| 257 | class SMB2SessionSetupResponse(Structure): |
nothing calls this directly
no outgoing calls
no test coverage detected