H
hennakapoor
Hi
I am trying to think of a solution for logging automatically into a
website say mail.yahoo.com.
The user provides the username and the password and the website address
and the application should log automatically into it.
I realize that there may not be a general purpose solution.
Nevertheless, I was curious to figure out if this can be done for
mail.yahoo.com.
The place where I am getting stuck is this:
mail.yahoo.com does a javascript md5 of the username and password and
then sends it in a POST.
How do I do that in an application i.e.
a) the application should download the webpage (done)
b) the application should then parse the webpage and extract
javascript(done...partially)
c) the application should then run javascript interpreter to execute
the relevant md5 javascript (not done...do I have to include a
javascript interpreter in the application then?)
d) the application should then send a POST with the processed data(can
be done...)
Step (b) is pretty complex and I don't think I will be able to do it as
a general purpose solution
Are there any other suggestions to achieve this goal?
I used to think that automatic login should be pretty simple given that
automatic form filling is available everywhere. However, am facing
problems at every step. Thanks for any suggestions
I am trying to think of a solution for logging automatically into a
website say mail.yahoo.com.
The user provides the username and the password and the website address
and the application should log automatically into it.
I realize that there may not be a general purpose solution.
Nevertheless, I was curious to figure out if this can be done for
mail.yahoo.com.
The place where I am getting stuck is this:
mail.yahoo.com does a javascript md5 of the username and password and
then sends it in a POST.
How do I do that in an application i.e.
a) the application should download the webpage (done)
b) the application should then parse the webpage and extract
javascript(done...partially)
c) the application should then run javascript interpreter to execute
the relevant md5 javascript (not done...do I have to include a
javascript interpreter in the application then?)
d) the application should then send a POST with the processed data(can
be done...)
Step (b) is pretty complex and I don't think I will be able to do it as
a general purpose solution
Are there any other suggestions to achieve this goal?
I used to think that automatic login should be pretty simple given that
automatic form filling is available everywhere. However, am facing
problems at every step. Thanks for any suggestions