Skip to content

Commit

Permalink
Small typo fix
Browse files Browse the repository at this point in the history
Running msfconsole would generate an Ubuntu crash report (?). This seems to be the culprit.
  • Loading branch information
TheNaterz committed Apr 17, 2017
1 parent 942959f commit 92e7183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/exploits/linux/smtp/haraka.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def send_mail(to, mailserver, cmd, mfrom, port):
s = smtplib.SMTP(mailserver, port)
try:
resp = s.sendmail(mfrom, to, msg.as_string())
except smtplib.SMTPDataError, err:
except smtplib.SMTPDataError as err:
if err[0] == 450:
log("Triggered bug in target server (%s)"%err[1], 'good')
return(True)
Expand Down

0 comments on commit 92e7183

Please sign in to comment.