tor

Run TOR browser with Selenium WebDriver

我们两清 提交于 2019-12-22 11:34:23
问题 Im currently trying to execute TOR 6.0.4 with Selenium WebDriver (JAVA) 2.53 and Firefox 43.0. I've followed the instructions from this post Using Selenium WebDriver with Tor but Im getting an error while loading the profilePath of TOR to the Firefox Binary. I've seen that is possible to lunch TOR by loading the TOR profile.default archive to the firefox binaty, but Im getting a Driver info: driver.version: unknown, when instantiating the binary with the profile. I've tried to change the

Authenticating a Controller with a Tor subprocess using Stem

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 11:30:59
问题 I am trying to launch a new tor process (no tor processes currently running on the system) using a 'custom' config by using stems launch_tor_with_config . I wrote a function that will successfully generate and capture a new hashed password. I then use that new password in the config, launch tor and try to authenticate using the same exact passhash and it fails. Here is the code: from stem.process import launch_tor_with_config from stem.control import Controller from subprocess import Popen,

Difference in status of the same request over tor in python3.6 and python3.7

纵饮孤独 提交于 2019-12-22 01:19:12
问题 I have a request over tor that used to worked in python3.6. I switched to python3.7 and now I get 403 response status. Below is a way to replicate the issue with conda environments and requests: In python3.6: conda create -n python3.6 python=3.6.5 conda activate python3.6 conda install requests conda install ipython[all] ipython import requests session = requests.session() session.proxies = {} session.proxies['http'] = 'socks5h://localhost:9050' session.proxies['https'] = 'socks5h://localhost

Why do I get “SOCKS connection failed. Connection not allowed by ruleset” for some .onion sites?

痴心易碎 提交于 2019-12-21 13:05:00
问题 I'm experimenting with Node and socks5-https-client. For some reason, certain Tor hidden service ( .onion ) sites return with a connection error. For example, connecting to DuckDuckGo ( 3g2upl4pq6kufc4m.onion ) works and returns HTML. However, connecting to The Pirate Bay ( uj3wazyk5u4hnvtk.onion ) or TORCH ( xmh57jrzrnw6insl.onion ) returns... Error: SOCKS connection failed. Connection not allowed by ruleset. What does this error mean? How can I avoid it? Here's code to reproduce it: var

RSelenium with Tor with NEW RSelenium version on Windows

你说的曾经没有我的故事 提交于 2019-12-21 11:45:10
问题 I found this fantastic answer by @jdharrison on how to launch Tor using RSelenium on windows: https://stackoverflow.com/a/39048970/7837376 In the new version of RSelenium , however, startServer() is defunct and its replacement rsDriver() does not take a java argument as startServer() did before. What is the way to launch Tor as above in firefox in the new RSelenium syntax? Thanks very much (in advance)! 回答1: You can start the selenium server yourself instead of using rsDriver browserP <- "C:

exec: executable file not found in $PATH

六眼飞鱼酱① 提交于 2019-12-21 09:28:56
问题 I am trying to send the HUP signal to tor in Go. command := exec.Command("pidof tor | xargs kill -HUP") command.Dir = "/bin" if cmdOut, err := command.CombinedOutput(); err != nil { log.Panic("There was an error running HUP ", string(cmdOut), err) panic(err) } I've tried numerous version of this (with/out args, with/out the Dir, ...) and it always comes back with the same error: 2017/06/27 13:36:31 There was an error running HUP exec: "pidof tor | xargs kill -HUP": executable file not found

exec: executable file not found in $PATH

扶醉桌前 提交于 2019-12-21 09:28:36
问题 I am trying to send the HUP signal to tor in Go. command := exec.Command("pidof tor | xargs kill -HUP") command.Dir = "/bin" if cmdOut, err := command.CombinedOutput(); err != nil { log.Panic("There was an error running HUP ", string(cmdOut), err) panic(err) } I've tried numerous version of this (with/out args, with/out the Dir, ...) and it always comes back with the same error: 2017/06/27 13:36:31 There was an error running HUP exec: "pidof tor | xargs kill -HUP": executable file not found

How to develop an application that uses the Tor network? [closed]

£可爱£侵袭症+ 提交于 2019-12-21 09:21:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I want to develop an application which allows users to also communicate over the Tor network. I have done some Googling but I can't seem to find an API or SDK. How does one develop a Tor application? Are there any libraries out there? EDIT: I see there are no libraries or API's available to use Tor. What would I

How to use Tor socks5 in R getURL

99封情书 提交于 2019-12-20 15:45:00
问题 I want to use Tor in getURL function in R. Tor is working (checked in firefox), socks5 at port 9050 . But when I set this in R, I get the following error html <- getURL("http://www.google.com", followlocation = T, .encoding="UTF-8", .opts = list(proxy = "127.0.0.1:9050", timeout=15)) Error in curlPerform(curl = curl, .opts = opts, .encoding = .encoding) : '\n\nTor is not an HTTP Proxy\n\n\n Tor is not an HTTP Proxy \n \nIt appears you have configured your web browser to use Tor as an HTTP

How to use Tor combine with Java [closed]

余生颓废 提交于 2019-12-20 09:37:53
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . Updated my question I'm building a crawler system by Java to compare price online. However, I worry about my IP address can be banned. So I intend to use proxy to change IP dynamic or use some tools to rotate IP automatically. Many people said that TOR is a powerful tool to rotate