mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-26 22:40:18 +00:00
add tls support for non gmail yahoo and hotmail servers
This commit is contained in:
parent
c0b4a1c128
commit
8a6f95c7dc
2 changed files with 6 additions and 2 deletions
|
@ -6,6 +6,7 @@ version 7.4
|
||||||
* added new third party module google analytics attack: # https://github.com/ZonkSec/google-analytics-attack. Walkthrough here: http://www.zonksec.com/blog/social-engineering-google-analytics/
|
* added new third party module google analytics attack: # https://github.com/ZonkSec/google-analytics-attack. Walkthrough here: http://www.zonksec.com/blog/social-engineering-google-analytics/
|
||||||
* converted alphanumeric shellcode to accept DNS names
|
* converted alphanumeric shellcode to accept DNS names
|
||||||
* changed alphanumeric shellcode to reverse_https instead of reverse_tcp
|
* changed alphanumeric shellcode to reverse_https instead of reverse_tcp
|
||||||
|
* added prompt for TLS support in email phishing
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
version 7.3.16
|
version 7.3.16
|
||||||
|
|
|
@ -356,9 +356,8 @@ else:
|
||||||
prioflag1 = ' 1 (Highest)'
|
prioflag1 = ' 1 (Highest)'
|
||||||
prioflag2 = ' High'
|
prioflag2 = ' High'
|
||||||
|
|
||||||
|
|
||||||
# Define mail send here
|
# Define mail send here
|
||||||
|
|
||||||
|
|
||||||
def mail(to, subject, text, attach, prioflag1, prioflag2):
|
def mail(to, subject, text, attach, prioflag1, prioflag2):
|
||||||
msg = MIMEMultipart()
|
msg = MIMEMultipart()
|
||||||
msg['From'] = str(
|
msg['From'] = str(
|
||||||
|
@ -398,6 +397,10 @@ def mail(to, subject, text, attach, prioflag1, prioflag2):
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
mailServer.ehlo()
|
mailServer.ehlo()
|
||||||
|
if not "gmail|yahoo|hotmail|" in email_provider:
|
||||||
|
tls = yesno_prompt(["1"], "Does your server support TLS? [yes|no]")
|
||||||
|
if tls == "YES":
|
||||||
|
mailServer.starttls()
|
||||||
if counter == 0:
|
if counter == 0:
|
||||||
try:
|
try:
|
||||||
if email_provider == "gmail" or email_provider == "yahoo" or email_provider == "hotmail":
|
if email_provider == "gmail" or email_provider == "yahoo" or email_provider == "hotmail":
|
||||||
|
|
Loading…
Reference in a new issue