User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Logging into Internet App through Javascript Form Page [1]  
b_rimes
All American
2072 Posts
user info
edit post

Is it even possible? I'm using a program someone else wrote, and after clicking submit I'm still being prompted by the remote system to provide login information, so I'm assuming that this isn't working. Is it possible and if so what's the input method that needs to be used.

FYI - the value is base64 encoded.

I.E.

<input type="hidden" name="Authorization" value="uwihyefsafuiaes">

2/13/2007 3:06:53 PM

qntmfred
retired
40559 Posts
user info
edit post

what type of program are you using to submit this form? what exactly are you trying to do? if you're trying to script a http POST, yes it is possible. i need more details on what you're trying to do to better help. you can pm if you need to

2/13/2007 3:31:24 PM

BigMan157
no u
103352 Posts
user info
edit post

something at http://www.dynamicdrive.com/dynamicindex16/index.html might help you, i'm not sure what you're asking

2/13/2007 3:36:11 PM

b_rimes
All American
2072 Posts
user info
edit post

I know, I'm asking it badly. Basically the code is trying to pass base64 encoded login information that would normally be passed in the HTTP header as part of the javascript form. It is POSTing the data.

<form name="logonform" action="http://website.com/extra" method="post" encType="multipart/form-data">
<input type="hidden" name="logon" value="yes">
<input type="hidden" name="Authorization" value="Basic asuoidfoiewas">


Make sense?

2/13/2007 3:48:34 PM

NutGrass
All American
3695 Posts
user info
edit post

actually, what you need to do is do a protocol on the off switch, convert over to beta, and run through DOS. the penguin will pop up, and guide you through the rest. does this help?

2/13/2007 3:57:55 PM

b_rimes
All American
2072 Posts
user info
edit post

And once again Civil Engineers prove useless to society.

2/13/2007 3:59:38 PM

NutGrass
All American
3695 Posts
user info
edit post

how are you getting to work today to play on your little computer? using a highway perhaps. maybe you are inside of an office building....you can thank me later. now, go play with your little penguins.

2/13/2007 4:02:16 PM

qntmfred
retired
40559 Posts
user info
edit post

so you're trying to hard-code the authorization credentials into the form via hidden inputs? not the most secure solution, but ok. it should work fine. if you're using firefox, you can use livehttpheaders to see what the form is actually POSTing. you may need another hidden input (but really, don't use hidden inputs - you'll get police blottered)

[Edited on February 13, 2007 at 4:04 PM. Reason : h4x]

2/13/2007 4:04:33 PM

 Message Boards » Tech Talk » Logging into Internet App through Javascript Form Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.