Questions tagged [tor]

Tor functions as a freely available open-source tool that provides users with internet privacy and protection against censorship.

Executing web driver and Tor in Java

Is it possible to connect to Tor using PhantomJS or HtmlUnit driver in addition to Firefox driver? For PhantomJS, I attempted the following code: String[] phantomArgs = new String[] { "--webdriver-loglevel=NONE", "--webdriver=localhost:9150" }; ...

Turn off the DNS functionality of Torsocks

Is there a way to prevent torsocks from performing DNS queries? I would prefer to make regular DNS queries, even though I understand it may result in a DNS leak. The issue arises when running torsocks npm login as it returns a socket hang up error. I rec ...

Using Selenium to rotate Tor circuits

I am currently working on a Selenium script that is designed to operate a Tor browser. Despite my efforts, I have been unsuccessful in activating the 'New Tor Circuit for this site' feature by simulating the Ctrl+Shift+L keystrokes within the bro ...

C# Selenium - Tor Initialization Error

I'm attempting to use Selenium in C# to launch the Tor browser with the code snippet below: using OpenQA.Selenium.Firefox; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; ...

A combination of Tor Browser, Selenium, and Javascript for

I have been attempting to use selenium with Tor, but unfortunately it is not functioning correctly. I have come across a library that allows for this functionality, however, it appears to only work with Python. Is there a way to accomplish this using Jav ...

Leveraging Selenium, PhantomJS, and Tor for web scraping with Python

After attempting to integrate phantomJS with selenium and Tor, I encountered the following code snippet: from selenium import webdriver service_args = [ '--proxy=127.0.0.1:9050', ' --proxy-type=socks5', ] driver = w ...

Is there an alternative method for locating the http referrer?

I currently have a virtual Linux server running Apache2 and PHP, with Tor serving as a hidden service. I am trying to retrieve the HTTP REFERRER information but have found that $_SERVER['HTTP_REFERER'] is not reliable and should not be used. After testing ...

What is the process for utilizing or activating a Tor Circuit while in Remote Control mode with Selenium?

I successfully controlled Tor Browser with Selenium, however I soon discovered that the Tor circuits (IP changes) were not enabled. Is there a way to enable them? Or should I use the new feature called "New Identity" from the code? My setup includes Pytho ...