mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-31 20:09:03 +00:00
Fixing soft failure which results in missed SMTP credential interception
Without this responder silently fails. During debugging I observed [[[can only concatenate str (not "bytes") to str]]] error. Enabling decoding of bytes made the error disappear and credentials properly intercepted (on-screen stdout, logs and to DB). Thank you for a very useful tool :)
This commit is contained in:
@@ -65,7 +65,7 @@ class ESMTP(BaseRequestHandler):
|
|||||||
data = self.request.recv(1024)
|
data = self.request.recv(1024)
|
||||||
|
|
||||||
if data:
|
if data:
|
||||||
try: Password = b64decode(data)
|
try: Password = b64decode(data).decode('latin-1')
|
||||||
except: Password = data
|
except: Password = data
|
||||||
|
|
||||||
SaveToDb({
|
SaveToDb({
|
||||||
|
|||||||
Reference in New Issue
Block a user