Skip to content
Permalink
Browse files

Add cosmetic fixes

  • Loading branch information...
martinvigo committed Jul 25, 2019
1 parent e31d15d commit 48c75ab9d477e89b161f379295728a53fbd2b590
Showing with 5 additions and 1 deletion.
  1. +5 −1 email2phonenumber.py
@@ -7,7 +7,6 @@
import os
import time
import zipfile
import multiprocessing
import random
import urllib
from itertools import product
@@ -41,13 +40,16 @@ def startBruteforcing(phoneNumbers, victimEmail, quietMode, verbose):
getMaskedEmailWithTwitter(phoneNumbers, victimEmail, verbose)
else:
getMaskedEmailWithAmazon(phoneNumbers, victimEmail, verbose)
getMaskedEmailWithTwitter(phoneNumbers, victimEmail, verbose)


# Uses Amazon to obtain masked email by resetting passwords using phone numbers
def getMaskedEmailWithAmazon(phoneNumbers, victimEmail, verbose):
global userAgents
global proxyList

print "Using Amazon to find victim's phone number..."

emailRegex = "[a-zA-Z0-9]\**[a-zA-Z0-9]@[a-zA-Z0-9]+\.[a-zA-Z0-9]+"
possibleNumberFound = False

@@ -191,6 +193,8 @@ def getMaskedEmailWithTwitter(phoneNumbers, victimEmail, verbose):
global userAgents
global proxyList

print "Using Twitter to find victim's phone number..."

possibleNumberFound = False
emailRegex = "[a-zA-Z0-9]\**[a-zA-Z0-9]@[a-zA-Z0-9]+\.[a-zA-Z0-9]+"

0 comments on commit 48c75ab

Please sign in to comment.
You can’t perform that action at this time.