01110100110101010101011101100010
Posts tagged script
ION Auto Login Script in Python Version 1
Sep 17th
After yesterdays efforts i have now made a complete working Python IAL (ION Auto Login) script which can store your password and checks for login in every 1 Min and continues till you stop it, here is the Code
iimport urllib, urllib2, time, cPickle
class ialv1:
interval = 0
username = ""
password = ""
def __init__(self):
try:
f = file('ial.info')
list = cPickle.load(f)
self.username, self.password = list
f.close()
except:
print "Welcome to I-ON Auto login Script\nMade by Ankur Shrivastava\n"
self.username = raw_input("Enter Your Username: ")
self.password = raw_input("Enter Your Password: ")
list = [self.username,self.password]
f = file('ial.info','w')
cPickle.dump(list,f)
f.close()
def check(self):
data = {"loginID":self.username,"loginpassword":self.password,"flag":"0","popcheck":"0","submit":"Sign In"}
value = urllib.urlencode(data)
request = urllib2.Request("http://192.168.150.2:8080/clntAuth/clntAuth_main.jsp",value)
bol =1
while (bol ==1):
try:
open = urllib2.urlopen(request)
print "Logged In"
bol = 2
except:
print "Server Gone Crazy\ntrying again...."
if __name__ == "__main__":
i = ialv1()
while (1):
i.check()
time.sleep(60)
You can Download it here
I Love Python!!!!!!!
Ion Auto Login script in Python
Sep 16th
i was just thinking about making the very famous IAL script of DJ in python and here is it and its damn simple
import urllib, urllib2, time
username = "Your username"
password = "Your Password"
interval = 10
data = {"loginID":username,"loginpassword":password,"flag":"0","popcheck":"0","submit":"Sign In"}
value = urllib.urlencode(data)
request = urllib2.Request("http://192.168.150.2:8080/clntAuth/clntAuth_main.jsp",value)
print "Logging In\nMade by Ankur - http://ankurs.com"
while (1):
open = urllib2.urlopen(request)
responce = open.read()
for i in range (1,interval):
print (interval-i),"min Till Next Login"
time.sleep(60)
print "Logging In\nMade by Ankur - http://ankurs.com"
or downlaod
run it by typing python ial.py
it uses urllib, urllib2 and time which are the default module, you have to change the username and password to your username and password, changing the interval changes the time interval in which auto login takes place. enjoy!!
PS – current it does no check if your connection is active or not, will add that soon



