tor

Python - Firefox Headless

喜欢而已 提交于 2020-01-09 06:49:10
问题 I've spent the last few days messing around with Selenium, Tor, and Firefox as a combination for multiple tasks. I've managed to write a simple script in Python that takes control of Firefox through Selenium, while Firefox is connected to Tor for privacy. Now, I'm looking for a way to save resources, so I thought of running Firefox in headless mode, which I thought was a common feature but it doesn't seem to be that. I'm looking for a method to do just that. The reason for it being Firefox

Debian操作系统的源配置信息详解--Source.list配置文件详解

时间秒杀一切 提交于 2020-01-09 04:08:50
转载来源: https://wiki.debian.org/SourcesList#Repository_URL Debian操作系统的源配置信息详解--Source.list配置文件详解 Debian操作系统的配置文件 /etc/apt/sources.list 作为其操作的一部分, Apt 使用一个文件列出可以从中获取包的“源”。该文件是/etc/apt/sources.list。 此文件中的条目通常遵循以下格式(以下条目是虚构的,不应使用): deb http://site.example.com/debian distribution component1 component2 component3 deb-src http://site.example.com/debian distribution component1 component2 component3 存档类型 每行的第一个单词 deb 或 deb-src 表示存档的类型。 Deb 表示存档包含二进制包( deb ),我们通常使用的预编译包。 Deb-src 表示 源包 ,它是原始程序 源 加上Debian控制文件( .dsc )和diff.gz,包含打包程序所需的更改。 存储库URL 该行的下一个条目是您要从中下载软件包的 存储库 的URL 。Debian存储库镜像的主要列表位于 此处 。 分配

Is there a way to use Casperjs + Tor on windows?

核能气质少年 提交于 2020-01-03 04:34:12
问题 I've been searching for a while but can't figure it out. Is there a way to do this ? 回答1: Tor is socks5 proxy not normal proxy and it can work with casperjs , but you have to open tor first and make sure connection to tor network is done Then from command line use: casperjs --proxy=127.0.0.1:9150 --proxy-type=socks5 test.js If you closed tor application it's will lost the socks connection 来源: https://stackoverflow.com/questions/40144028/is-there-a-way-to-use-casperjs-tor-on-windows

GET requests in TOR network without installing TOR browser/bundle?

五迷三道 提交于 2020-01-03 00:55:30
问题 I want to perform http/https GET requests to the TOR network. My one issue is that this project needs to be scaleable, the software I'm designing needs to be light so having all users installing the TOR bundle to use with my program isn't possible. Is there someway to generate GET requests on the TOR network without having the browser? For example can I do direct requests to a TOR bridge? 回答1: Yes, it's possible. Tor Browser just runs the Tor daemon in the background and proxies it's requests

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

跟風遠走 提交于 2019-12-31 18:59:41
问题 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 banned sites. I tried to make git work via Tor but without success. Here is what I did: git config --global http.proxy localhost:9050 git config --global https.proxy localhost:9050 But when I try to push, I get error 501 : fatal: unable to access

Getting Tor ControlPort to work

我们两清 提交于 2019-12-30 07:41:08
问题 I have installed Tor to run as a service on my windows machine and I am trying to make requests in python through the Stem package. In my torrc file I have specified ControlPort as 9051 and set a HashedControlPassword. When I run netstat, I see that Tor is running on localhost:9050 but there is nothing listening to port 9051. As a result, when I try to connect to the ControlPort in python: Controller.from_port(port=9051) results in a [Errno 10061] No connection could be made because the

Getting Tor ControlPort to work

蹲街弑〆低调 提交于 2019-12-30 07:41:05
问题 I have installed Tor to run as a service on my windows machine and I am trying to make requests in python through the Stem package. In my torrc file I have specified ControlPort as 9051 and set a HashedControlPassword. When I run netstat, I see that Tor is running on localhost:9050 but there is nothing listening to port 9051. As a result, when I try to connect to the ControlPort in python: Controller.from_port(port=9051) results in a [Errno 10061] No connection could be made because the

Python script Exception with Tor

六月ゝ 毕业季﹏ 提交于 2019-12-29 05:32:05
问题 I have the following script which uses SocksiPY and Tor: from TorCtl import TorCtl import socks import socket socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 9050) socket.socket = socks.socksocket import urllib2 import sqlite3 from BeautifulSoup import BeautifulSoup def newId(): conn = TorCtl.connect(controlAddr="127.0.0.1", controlPort=9051, passphrase="123") TorCtl.Connection.send_signal(conn, "NEWNYM") newId() print(urllib2.urlopen("http://www.ifconfig.me/ip").read()) This code

using Tor as Proxy

不羁岁月 提交于 2019-12-27 17:04:12
问题 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 WebProxy("127.0.0.1:9051"); response = (HttpWebResponse)request.GetResponse(); response.Close(); it works perfect with "normal" proxies but with Tor I'm getting Exceptions while calling GetResponse() with Status = ServerProtocolViolation. The message is (in German...)

安全牛-fq

假如想象 提交于 2019-12-25 13:44:14
翻墙&代理 1.GFW长城防火墙(原因)  facebook,youtube 2.翻墙(产生)  http代理---明文传输,不安全  socks代理---  ssh隧道  vpn 3.代理Goagent 4.暗网tor 代理的意思所在 加密通信 隐藏来源 突破网络封锁 注意事项 不触及敏感地带 不从事非法行为 GOAGENT https://code.google.com/p/goagent/ 注册:appengine.google.com https://github.com/goagent/goagent GOAGENT安装 apt-get install python-dev pythongreenlet python-grvent python-vte python-openssl python-crypto python-appindicator python-pip libnss3-tools pip install pyOpenSSL pip install gevent --upgrade mkdir -p ~/.pki/nssdb certutil -d sql:$HOME/.pki/nssdb –N 导入入证书 设置浏览器代理 使用 TOR 保护隐私防止止被追踪 志愿者组成 ⻓长期在天朝完全无无法使用用 感谢 云 暗网 互联网搜索引擎无法发现 互联网黑市