notrin
Power Member
- Apr 15, 2010
- 643
- 71
Here you go,
Here is a python email generator
please thank me if you find this useful.
Here is a python email generator
please thank me if you find this useful.
Code:
import random
import string
tlds = ['com', 'net', 'us']
name_file = open('woman-name.txt','r')
word_file = open('second-word.txt','r')
domain_file = open('domain-list.txt','r')
names = name_file.readlines()
words = word_file.readlines()
domains = domain_file.readlines()
name_file.close()
word_file.close()
domain_file.close()
w = lambda x: x[random.randint(0,len(x))-1].replace("\n",'').strip()
def randomString(size=5):
return ''.join(random.choice(string.digits) for x in range(size))
def generateEmail():
mailuser = w(names)
randomWord = w(words)
randuser = randomString(10)
hostname = w(domains)
tld = w(tlds)
return '%s.%s.%s@%s.%s' % (mailuser, randomWord, randuser, hostname, tld)
NUMBER_OF_EMAILS = 30
for i in range(NUMBER_OF_EMAILS):
print generateEmail()
Code:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]