There are all sorts of wrappers for wget to resolve onion addresses, the main thing is to understand that this is the same as with ordinary sites, only html is copied, and not the code itself, which is on the back.
First, let's install:
Code:
apt install tor tor-geoipdb privoxy
then
Code:
sudo nano / etc / wgetrc
add the line http_proxy = http: // localhost: 8118
sudo nano / etc / privoxy / config
uncomment a line
Code:
# forward-socks5 / 127.0.0.1:9050
Start the services
Service tor start; server privoxy start
And download
More info here:
Defend yourself against tracking and surveillance. Circumvent censorship. | How can we help?
www.torproject.org
The standalone version of Tor only includes a SOCKS proxy for connecting to the Tor network, and no additional proxies are added to the Tor browser.
The usual method for working with programs that require an HTTP proxy is to install one of your own programs, such as Privoxy or Polipo, and then connect that proxy to Tor. For example, in the Privoxy configuration, you must specify:
Code:
forward-socks5 / 127.0.0.1:9050
Privoxy then listens on port 8118 and you configure your HTTP proxy to
http://localhost:8118.
Use Torify, which is a simple wrapper around torsocksTor, for example:
Code:
$ torify curl ifconfig.me
$ torify wget -qO- -U curl ifconfig.me
Make sure your Tor server is up and running before use.