From c2dc8b977f85ad2c5cf70a73b26c72393e542bce Mon Sep 17 00:00:00 2001 From: bandrel Date: Fri, 19 Feb 2016 17:46:19 -0500 Subject: [PATCH] Fixed issue where blank username/password would initiate ehlo but would not send headers or mail --- src/phishing/smtp/client/smtp_web.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/phishing/smtp/client/smtp_web.py b/src/phishing/smtp/client/smtp_web.py index cfde6bdcb..908c04aaf 100644 --- a/src/phishing/smtp/client/smtp_web.py +++ b/src/phishing/smtp/client/smtp_web.py @@ -304,7 +304,8 @@ def mail(to, subject, prioflag1, prioflag2, text): if provideruser != "" or pwd != "": mailServer.login(provideruser, pwd) mailServer.sendmail(from_address, to, io.getvalue()) - + else: + mailServer.sendmail(from_address, to, io.getvalue()) except: # try logging in with base64 encoding here import base64