Added better redirect handling for gmail.com

This commit is contained in:
TrustedSec 2013-11-21 14:07:27 -05:00
parent 91c7bcf740
commit 406192b2d1

View file

@ -437,6 +437,10 @@ try:
if match2: if match2:
URL = ("https://login.facebook.com/login.php") URL = ("https://login.facebook.com/login.php")
# changed based on new landing page for gmail.com
match3 = re.search("gmail.com", URL)
if match3: URL = ("https://accounts.google.com")
filewrite.write("\nURL=%s" % (URL)) filewrite.write("\nURL=%s" % (URL))
filewrite.close() filewrite.close()