added masking pw on sms

This commit is contained in:
TrustedSec 2016-08-02 18:37:15 -04:00
parent abd935679f
commit 323c1e79da
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
~~~~~~~~~~~~~~~~
version 7.3.10
~~~~~~~~~~~~~~~~
* added masking of password in sms
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
version 7.3.9 version 7.3.9
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~

View file

@ -1 +1 @@
7.3.9 7.3.10

View file

@ -2,6 +2,7 @@
# coding=utf-8 # coding=utf-8
import src.core.setcore as core import src.core.setcore as core
import sys import sys
import getpass
# Py2/3 compatibility # Py2/3 compatibility
# Python3 renamed raw_input to input # Python3 renamed raw_input to input
@ -33,7 +34,8 @@ def _do_sms():
if message == "yes": if message == "yes":
core.print_status("Okay! Moving on - SET needs some information from you in order to spoof the message.") core.print_status("Okay! Moving on - SET needs some information from you in order to spoof the message.")
email = input(core.setprompt(["7"], "Enter your email address for the spoofmytextmessage.com account")) email = input(core.setprompt(["7"], "Enter your email address for the spoofmytextmessage.com account"))
pw = input(core.setprompt(["7"], "Enter your password for the spoofmytextmessage.com account")) core.print_status("Note that the password below will be masked and you will not see the output.")
pw = getpass.getpass(core.setprompt(["7"], "Enter your password for the spoofmytextmessage.com account"))
core.print_status("The next section requires a country code, this is the code you would use to dial " core.print_status("The next section requires a country code, this is the code you would use to dial "
"to the specific country, for example if I was sending a message to 555-555-5555 to " "to the specific country, for example if I was sending a message to 555-555-5555 to "
"the United States (or from) you would enter +1 below.") "the United States (or from) you would enter +1 below.")