Mail Archives: cygwin/2009/10/13/08:42:44
On Tuesday, October 13, 2009 at 13:44, dave DOT korn DOT cygwin AT googlemail DOT com wrot=
e:
> Hongyi Zhao wrote:
>> Hi all,
>>=20
>> Tor (http://www.torproject.org/) is a great free software.=20=20
>>=20
>> When I installed Tor on my winxp system, then I have a local socks
>> proxy server: 127.0.0.1:9050
>>=20
>> Now, I want to use wget through this SOCKS proxy provided by Tor under
>> cygwin.
> I tried this once myself but as far as I can see Wget (at least the ver=
sion
> shipping with Cygwin) doesn't speak SOCKS.
> It does OTOH speak http-proxy-talk, so if you're using http then you can
> always point wget at your local privoxy socket rather than directly at the
> SOCKS socket.
> What protocol are you after using wget to fetch?
I want to use wget to grab the following web page:
http://www.cybersyndrome.net/pla5.html
In my case, my ISP has bocked this webpage, but I can use tor to
access it. In order to grab this webpage for my further treatment, the
first step is using a command-line downloading tool, such as wget, to grab
this webpage to my local computer. But the Tor itself works as a socks
proxy server.
OTOH, I've also learned that curl support socks4/5 proxy, and I use
the following command under my cygwin console:
curl --socks5 127.0.0.1:9050 http://www.cybersyndrome.net/pla5.html
But I meet the following error:
-----------------------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A HREF=3D"http://www8.big.or.jp/~000/CyberSyndrome/=
error40
4.html">here</A>.<P>
</BODY></HTML>
-----------------------------
Nevertheless, I can use firefox with Tor enabled to access this
webpage.
What's the reason and how can I grab this webpage just by a
command-line downloading tool?
Thanks in advance.
--=20
Hongyi Zhao <hongyi DOT zhao AT gmail DOT com>=20
School of Physics and Electrical Information Science
Ningxia University
GnuPG DSA: 0xD108493
2009-10-13
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -