MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _updateServerInfo_SMB1

Method _updateServerInfo_SMB1

pager_lib/smb/base.py:1912–1921  ·  view source on GitHub ↗
(self, payload)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

warningMethod · 0.80

Tested by

no test coverage detected