mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-14 02:27:12 -07: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:
parent
de20dcf408
commit
34603aed0a
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue