Announcement
Collapse
No announcement yet.
Need help with a script I was provided here.
Collapse
X
-
Without any explanation from x_goose_x it's still a guess, but as far as i can tell (i'm not that good at javascript either) he supplied a script for decoding the query-string (the part after "&") from the URL the page was loaded with.
I fail to see what happens with the info, though (looks like it's assigned to a couple of form fields; why?), and the rest of the document is left blank, but that's for you to fill in, of course!
Creating a URL with query string can be accomplished without javascript using a form for entering userid and password, and submitting the form using method=get and action=theurlforthenextpage. After this "logon", the query string should be attached to all URL's following the initial page.
A couple of remarks:- This is a seriously unsecure way of passing logon information, because it's visible in the URL!
- I yet fail to see how you:
- validate the userid and password;
- record which userid and password are valid.
Comment