Merge pull request #254 from syntricks/patch-1

Fixing soft failure which results in missed SMTP credential interception
This commit is contained in:
lgandx 2023-11-17 10:09:58 -03:00 committed by GitHub
commit 6b1f53a6f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ class ESMTP(BaseRequestHandler):
data = self.request.recv(1024)
if data:
try: Password = b64decode(data)
try: Password = b64decode(data).decode('latin-1')
except: Password = data
SaveToDb({