| 1910 | |
| 1911 | |
| 1912 | def _updateServerInfo_SMB1(self, payload): |
| 1913 | self.capabilities = payload.capabilities |
| 1914 | self.security_mode = payload.security_mode |
| 1915 | self.max_raw_size = payload.max_raw_size |
| 1916 | self.max_buffer_size = payload.max_buffer_size |
| 1917 | self.max_mpx_count = payload.max_mpx_count |
| 1918 | self.use_plaintext_authentication = not bool(payload.security_mode & NEGOTIATE_ENCRYPT_PASSWORDS) |
| 1919 | |
| 1920 | if self.use_plaintext_authentication: |
| 1921 | self.log.warning('Remote server only supports plaintext authentication. Your password can be stolen easily over the network.') |
| 1922 | |
| 1923 | |
| 1924 | def _handleSessionChallenge_SMB1(self, message, ntlm_token): |