Skip to content

Commit 92e7183

Browse files
authored
Small typo fix
Running msfconsole would generate an Ubuntu crash report (?). This seems to be the culprit.
1 parent 942959f commit 92e7183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/smtp/haraka.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def send_mail(to, mailserver, cmd, mfrom, port):
7171
s = smtplib.SMTP(mailserver, port)
7272
try:
7373
resp = s.sendmail(mfrom, to, msg.as_string())
74-
except smtplib.SMTPDataError, err:
74+
except smtplib.SMTPDataError as err:
7575
if err[0] == 450:
7676
log("Triggered bug in target server (%s)"%err[1], 'good')
7777
return(True)

0 commit comments

Comments
 (0)