jborean93 / smbprotocol

Python SMBv2 and v3 Client
MIT License
323 stars 73 forks source link

Fix up endless auth loop #267

Closed jborean93 closed 10 months ago

jborean93 commented 10 months ago

Fix up the endless loop that can occur during authentication when the authentication context was complete but the server still continued to respond with an access token. This should not happen with any major server but still possible with some more niche implementations like impacket.

Fixes: https://github.com/jborean93/smbprotocol/issues/261