Jump to content
geeko

email sorter ;)

Recommended Posts

#!/usr/bin/env python
#coded by D3v1l
#https://0day.in
import sys
emails = open(sys.argv[1], "r")
hotmail = open("hotmail.txt", "a")
aol = open("aol.txt", "a")
gmail =open("gmail.txt","a")
yahoo =open("yahoo.txt","a")

for email in emails:
if 'hotmail' in email:
hotmail.write(email)
if 'aol' in email :
aol.write(email)
if 'gmail' in email:
gmail.write(email)
if 'yahoo' in email:
yahoo.write(email)

emails.close()
hotmail.close()
aol.close()
gmail.close()
yahoo.close()

Link to comment
Share on other sites

Coded by drunk_bastard, version 1.0 helper to your 1.0

 

#homework

import random
import string

bullshit_mail = ["aol", "gmail", "hotmail", "yahoo"]
some_random_numbers = [5, 12, 17, 9, 26]

mails = "a_lot_of_mails_MOTHERFUCKER.txt"

def a_string(size=random.choice(some_random_numbers), chars=string.ascii_uppercase + string.digits):
    return ''.join(random.choice(chars) for bla in range(size))

number_of_mails_MOTHERFUCKER = 20 #how many mails Motherfucker you want him to filter, MOTHERFUCKER!

MAIL = open(mails, "w+")
for motherfuckers in xrange(1, number_of_mails_MOTHERFUCKER): # I hate 0's  Motherfuckers
    MAIL.write("{0}{1}{2}\n".format(a_string(), random.choice(bullshit_mail), a_string()))
MAIL.close()

 

Hint: regex or requirments, Motherfucker!

PS: Can't wait version 1.1 ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...