mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-24 13:33:04 +00:00
Merge pull request #209 from bandrel/master
Open relay with blank password broken
This commit is contained in:
commit
1401469cea
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue