stem

Tor Stem - To Russia With Love Connection Issues

你说的曾经没有我的故事 提交于 2019-12-01 03:25:57
问题 I am trying to get the To Russia With Love tutoial from the Stem project working. from io import StringIO import socket import urllib3 import time import socks # SocksiPy module import stem.process from stem.util import term SOCKS_PORT = 9150 # Set socks proxy and wrap the urllib module socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, '127.0.0.1', SOCKS_PORT) socket.socket = socks.socksocket # Perform DNS resolution through the socket def getaddrinfo(*args): return [(socket.AF_INET, socket.SOCK

Getting Tor ControlPort to work

六眼飞鱼酱① 提交于 2019-12-01 00:41:49
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 target machine actively refused it I've tried restarting the service, I even reinstalled Tor Browser but

Instagram is adding an option to report false information

北慕城南 提交于 2019-11-29 06:25:21
Instagram is adding an option for users to report posts they think are false, the company announced on Thursday, as the Facebook-owned photo-sharing site tries to stem misinformation and other abuses on its platform. Posting false information is not banned on any of Facebook’s suite of social media services, but the company is taking steps to limit the reach of inaccurate information and warn users about disputed claims. Facebook started using image-detection on Instagram in May to find content debunked on its flagship app and also expanded its third-party fact-checking program to the app.

Codeforces E. High Load(构造)

北城以北 提交于 2019-11-27 09:40:22
题目描述: High Load time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output Arkady needs your help again! This time he decided to build his own high-speed Internet exchange point. It should consist of n nodes connected with minimum possible number of wires into one network (a wire directly connects two nodes). Exactly k of the nodes should be exit-nodes, that means that each of them should be connected to exactly one other node of the network, while all other nodes should be connected to at least two nodes in order to increase the system