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

[no subject]



John
 

-----Original Message-----
From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org] On Behalf Of Anonymous Coward
Sent: Friday, June 10, 2005 12:04 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Opening a webpage with a password?

Hi,

--- &quot;Robert L. Harris&quot; &lt;Robert.L.Harris at rdlg.net&gt;
wrote:

&gt;   I'm messing with automating a website login.  I'm trying to connect 
&gt; to a site that requires a Login/Password form when I connect using 
&gt; firefox.
&gt; I tried using
&gt; &quot;<a  rel="nofollow" href="http://user";>http://user</a> at pass:site.com/internalpage.php&quot; but firefox just says 
&gt; that the site doesn't require auth then gives me the original page 
&gt; with a form.  Anyone have a suggestion on how to automate this?  I 
&gt; have to load the page regularly but the main page has too many 
&gt; freaking 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>
_______________________________________________
Ale mailing list
Ale at ale.org
<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00759.html">[ale] Problems with USB Flash drives and kernel 2.6.11</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00761.html">[ale] SOHO Proxy - Questions</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00493.html">[ale] Opening a webpage with a password?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00444.html">[ale] OT:  The old mp3.com</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00760"><strong>Date</strong></a></li>
<li><a href="threads.html#00760"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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