Running Tor on a Raspberry Pi Tor (git-3696eb720795a666). From the command line, after starting the daemon I am able to use a localhost telnet connection to talk to the control port, following these guides:



Now that I can verify network status, etc -- is there a command to fetch data from a URL (https://www.nytimes3xbfgragh.onion/ for example) right from the command line? This is mainly for testing purposes.

** someone with more reputation than me should add a "control-port" tag!



The Control Port is used to control and query the Tor client.

Using Tor as a client and implementing the HTTP protocol is outside of the scope of what the Control Port and the Tor daemon aim to provide.

If you wish to fetch HTTP content over Tor from the command line then there are common commandline utilities like curl, e.g. curl -x socks5h:// https://www.nytimes3xbfgragh.onion/ or using custom scripting around python's urllib or pycurl as shown by example in this Stem tutorial.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.