Re: connect to reseller customer database

From: Grant Kaufmann (grant@netizen.co.za)
Date: Tue May 16 2000 - 14:11:57 EDT


> Has anyone used gnu wget to retrieve customer information from
> resellers.opensrs.net?
>
> I need to recursively retrieve "completed orders" and "pending orders"
> with something similar to the following:
>
> wget -v --header="User-Agent: Mozilla/4.7 [en] (X11; U; Linux 2.2.12
> i686)" --http-user=myuserid --http-passwd=mypassword -O-
> http://resellers.opensrs.net/index.cgi?action=view_completed

There are a few problems with what you are trying to do:
1) There is no such page as http://resellers.opensrs.net/index.cgi .
   The page is https://rr-n1-tor.opensrs.net/~vpop/resellers/index.cgi
2) The system does not use HTTP passwords, as you have specified. It uses
cookies which are set when you log in. From then, it uses the cookie to
authenticate.

So, in order to do what you want, you need to write something a little more
complex that posts a form to a secure page, reads back the cookie that is
set, and then re-sends that cookie in future queries.

--
Grant



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:31 EDT