Questions tagged [tor]

Tor is a free open-source application used for internet anonymity and anti-censorship.

TOR Project (originally short for The Onion Router) is software for enabling online anonymity. It directs Internet traffic through a free, worldwide volunteer network consisting of thousands of relays to conceal a user's location or usage from anyone conducting network surveillance or traffic analysis.

Tor is free to download and an open network that helps you defend against location snooping and browsing analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.

It protects users by bouncing their communications around a distributed network of relays run by anonymous volunteers all around the globe. It prevents somebody watching users Internet connection from figuring out what websites they visit, and it prevents the websites they visit from learning the users physical location.

TOR is for web browsers, instant messaging clients, and more. It is available for Windows, Mac, Linux/Unix, and Android.

Resources

1091 questions
479
votes
5 answers

How can I connect to a Tor hidden service using cURL in PHP?

I'm trying to connect to a Tor hidden service using the following PHP code: $url = 'http://jhiwjjlqpyawmpjx.onion/' $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch,…
frosty
  • 4,741
  • 4
  • 17
  • 9
116
votes
9 answers

Make requests using Python over Tor

I want to make multiple GET requests using Tor to a webpage. I want to use a different ipaddress for each request. import socks import socket socks.set_default_proxy(socks.SOCKS5, "127.0.0.1", 9150) socket.socket = socks.socksocket import…
Sachin Kelkar
  • 1,282
  • 2
  • 11
  • 16
59
votes
11 answers

How to change the Tor exit node programmatically to get a new IP?

I have Tor running on my computer, and I need to change the Tor exit node every five minutes. For example, if I start using Tor via some exit node, then in 5 minutes I want Tor to change to an exit node with a different IP address. How can I do…
lazybob
  • 801
  • 2
  • 9
  • 9
55
votes
12 answers

How to make urllib2 requests through Tor in Python?

I'm trying to crawl websites using a crawler written in Python. I want to integrate Tor with Python meaning I want to crawl the site anonymously using Tor. I tried doing this. It doesn't seem to work. I checked my IP it is still the same as the one…
michael steve
49
votes
10 answers

How to contribute on github anonymously via Tor?

I would like to contribute anonymously to projects on github. Not to cause mischief, more in the spirit of anonymous donations. The tool of choice for being anonymous online seems to be TOR, which works well for almost anything you can do in a…
Greg Manitoba
  • 507
  • 1
  • 4
  • 4
42
votes
15 answers

Is it possible to block Tor users?

Would it be possible to block Tor users? (https://www.torproject.org/) Due to the nature of the site I run I should do all I can to stop multiple accounts and block certain locations. Tor is worse than proxies - a total nightmare...
domino
  • 7,271
  • 12
  • 36
  • 48
42
votes
6 answers

How to run multiple Tor processes at once with different exit IPs?

I am brand new to Tor and I feel like multiple Tors should be considered. The multiple tors I mentioned here are not only multiple instances, but also using different proxy ports for each, like what has been done here…
B.Mr.W.
  • 18,910
  • 35
  • 114
  • 178
38
votes
5 answers

using Tor as Proxy

I'm trying to use Tor-Server as a proxy in HttpWebRequest, my code looks like this: HttpWebRequest request; HttpWebResponse response; request = (HttpWebRequest)WebRequest.Create("http://www.google.com"); request.Proxy = new…
Lay
  • 381
  • 1
  • 3
  • 3
32
votes
12 answers

Open tor browser with selenium

Is it possible to make selenium use the TOR browser? Does anyone have any code they could copy-paste?
user1907403
  • 361
  • 1
  • 4
  • 3
31
votes
6 answers

Doing http requests through a SOCKS5 proxy in NodeJS

I'm planning to do a series of HTTP requests in NodeJS though Tor. Tor uses SOCKS5 so I went out and searched for a way to proxify HTTP requests in NodeJS. I'm planning to the the default http.request() function to do the work. However, I can't seem…
Fredefl
  • 1,391
  • 2
  • 17
  • 33
28
votes
7 answers

How to change Tor identity in Python?

I have the following script: import socks import socket socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 9050) socket.socket = socks.socksocket import urllib2 print(urllib2.urlopen("http://www.ifconfig.me/ip").read()) which uses tor and…
user873286
  • 7,799
  • 7
  • 30
  • 38
25
votes
5 answers

Using Selenium WebDriver with Tor

Because Tor Browser Bundle is just a patched version of Firefox, it seems that it should be possible to use a FirefoxDriver with Tor Browser. This is what I've tried so far: String torPath = "C:\\Users\\My User\\Desktop\\Tor Browser\\Start Tor…
Joel Christophel
  • 2,604
  • 4
  • 30
  • 49
23
votes
6 answers

How to make git work to push commits to GitHub via tor?

So, GitHub is now officially banned by Russian Government and Rospotrebnadzor. I used GitHub to create free software and share it, and it's important part of my life. Today I've installed Tor on Arch Linux and now I'm able to browse GitHub and other…
Mark Karpov
  • 7,499
  • 2
  • 27
  • 62
22
votes
3 answers

how to let tor change ip automatically?

After i click the "Use a New Identify" button on Vidalia, i will get a new proxy ip. Can tor change ip automatically? My program needs random proxies, so the server will not block the connection.
redice
  • 8,437
  • 9
  • 32
  • 41
22
votes
2 answers

Scrapy with Privoxy and Tor: how to renew IP

I am dealing with Scrapy, Privoxy and Tor. I have all installed and properly working. But Tor connects with the same IP everytime, so I can easily be banned. Is it possible to tell Tor to reconnect each X seconds or connections? Thanks! EDIT about…
user7499416
1
2 3
72 73