[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



--- "Robert L. Harris" <Robert.L.Harris at rdlg.net>
wrote:

>   I'm messing with automating a website login.  I'm
> trying to connect to a
> site that requires a Login/Password form when I
> connect using firefox.
> I tried using
&gt; &quot;<a  rel="nofollow" href="http://user";>http://user</a> at pass:site.com/internalpage.php&quot; but
&gt; firefox 
&gt; just says that the site doesn't require auth then
&gt; gives me the original 
&gt; page with a form.  Anyone have a suggestion on how
&gt; to automate this?  I
&gt; have to load the page regularly but the main page
&gt; has too many freaking
&gt; graphics/flash, etc on it.

It sounds like this is a regular web form with the
credentials being sent over as either a GET or a POST
request.
If so, you will need to find the value of the action
and the method attributes of the form.

Your script needs to make either a GET or a POST
request (depending on method) to the url specified in
the action attribute (after adjusting for a relative
path if any)

If you plan to do this via a browser by typing a URL
... the server side processing element needs to accept
a GET request (which is unusual for an auth form
handler)

If you just need some tool to do this .. I have found
Microsoft Fiddler very useful to construct custom http
packets (only http:// urls. No support for https:// ).
This is a free download.

Hope that helps.






Thanks,
Anonymous Coward


		
__________________________________ 
Discover Yahoo! 
Stay in touch with email, IM, photo sharing and more. Check it out! 
<a  rel="nofollow" href="http://discover.yahoo.com/stayintouch.html";>http://discover.yahoo.com/stayintouch.html</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00481" href="msg00481.html">[ale] Opening a webpage with a password?</a></strong>
<ul><li><em>From:</em> joh6nn at hotpop.com (joh6nn)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00441" href="msg00441.html">[ale] Opening a webpage with a password?</a></strong>
<ul><li><em>From:</em> Robert.L.Harris at rdlg.net (Robert L. Harris)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00442.html">[ale] Opening a webpage with a password?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00444.html">[ale] OT:  The old mp3.com</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00449.html">[ale] Opening a webpage with a password?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00481.html">[ale] Opening a webpage with a password?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00443"><strong>Date</strong></a></li>
<li><a href="threads.html#00443"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>