dynamic input field names

0 views
Skip to first unread message

dark...@gmail.com

unread,
Jun 24, 2008, 3:59:15 PM6/24/08
to Clipperz
My bank generates id/names for input fields dynamically. So I would
need to see some way to choose the field by index. i.e.
document.getElementsByTagName('input')[0].id
There's a way in the current auto-login system that allows injecting
this input name?

Giulio Cesare Solaroli

unread,
Jun 26, 2008, 5:00:52 AM6/26/08
to dark...@gmail.com, Clipperz
Hello,

could you please provide (also privately) the url of the login form of
you bank so that I could try to give it a look.

From you description I can not understand exactly what is going on and
I can not tell if it could be possible to extend the direct login
implementation to handle this case.

Best regards,

Giulio Cesare

dark...@gmail.com

unread,
Jun 28, 2008, 8:34:12 PM6/28/08
to Clipperz
https://mijn.postbank.nl/internetbankieren/SesamLoginServlet
<input name="iropdkyfd" id="iropdkyfd">
Session generated.
Giulio already mailed me that direct login at this point does not work
with this.

Also, I stumbled on another site (which I don't really use), bitzi.com
that gives me "The login page has expired. Please login again.".

Giulio Cesare Solaroli

unread,
Jun 28, 2008, 9:01:31 PM6/28/08
to dark...@gmail.com, Clipperz
Hello,

when you receive a session related warning, there are two options to
try to fix a direct login:
- remove the session value from the direct login configuration;
- in case no session relevant information is present, try to use the
direct login a second time soon after the failure.

The first solution works for all the sites that complain is a wrong
value is passed, but can safely handle a missing parameter.
The second works if the sites looks for a cookie that was not
available during the first direct login activation, but ended up being
setted and thus is available when the next activation of the direct
login is performed.

Both are suggestions, and not 100% reliable fixes.

Best regards,

Giulio Cesare

Reply all
Reply to author
Forward
0 new messages