[英]How to install and run the Tor service in windows ? (windows v.10)
I have python script that sends requests at onion site and takes response.我有 python 脚本,它在洋葱站点发送请求并接受响应。 It was working fine in ubuntu, tor service was used for that, but since I switched to windows it's not working, how do I install tor service and run it in Windows 10?
它在 ubuntu 中运行良好,为此使用了 tor 服务,但是由于我切换到 windows 它不起作用,我如何安装 tor 服务并在 ZAEA23489CE3AA9B6406EBB28E0CDA40Z1028E0CDA40Z 中运行它?
Got to torproject's page , download the Windows Expert Bundle .到torproject 的页面,下载Windows 专家包。
When you open the .zip file, you will find a Tor folder.当你打开.zip文件时,你会发现一个Tor文件夹。
Extract the folder to your system ( may c drive ).将文件夹解压缩到您的系统(可能是 c 驱动器)。
Open CMD.exe (as Admin), navigate to the folder and than type打开CMD.exe (以管理员身份),导航到文件夹,然后键入
c:\Tor\tor.exe –-service install
Then your service is installed.然后你的服务就安装好了。 :)
:)
You can access the tor on 127.0.0.1:9050
您可以在
127.0.0.1:9050
上访问 tor
If you want to setup your Browsers:如果要设置浏览器:
Open Internetoptions
> Connections
> LAN-SETTINGS
(may via IE/Edge)打开
Internetoptions
> Connections
> LAN-SETTINGS
(可能通过 IE/Edge)
Hit the Checkbox
on the Proxyserver.点击代理服务器上的
Checkbox
。
Click on Advanced
add IP 127.0.0.1
and PORT 9050
to Socks
.单击
Advanced
将IP 127.0.0.1
和PORT 9050
添加到Socks
。
In the Bottom you can choose on what Domainendings the Tor should NOT listen too.在底部,您可以选择 Tor 也不应该收听的域结尾。
Hit Ok
and you're done.点击
Ok
,你就完成了。
If you want command line tools to use the proxy, you could route your request over your tor service by passing URL
, IP
and PORT
to CURL
connection.如果您希望命令行工具使用代理,您可以通过传递
URL
、 IP
和PORT
到CURL
连接来路由您的请求。
Partially following the instructions from Start9 .部分遵循Start9 中的说明。
Download the expert bundle and extract it.下载专家包并解压。 Use the signature to verify the file integrity.
使用签名来验证文件的完整性。 Alternatively, install the Tor Browser because the Tor browser should automatically update when launched.
或者,安装 Tor 浏览器,因为 Tor 浏览器应在启动时自动更新。
Start Command Prompt as Administrator mode by right clicking on the Command Prompt application and select Run as administrator in the start menu.通过右键单击命令提示符应用程序和 select 在开始菜单中以管理员身份运行,以管理员模式启动命令提示符。
Create a tor
service by using the the following command as an example: sc create tor start=auto binPath="<PATH TO>\Tor\tor.exe -nt-service"
以以下命令为例,创建一个
tor
服务: sc create tor start=auto binPath="<PATH TO>\Tor\tor.exe -nt-service"
Then start the service with sc start tor
.然后使用
sc start tor
启动服务。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.