Questions tagged [python]

Python is a programming language. For Tor there is the Stem library.

Filter by
Sorted by
Tagged with
3
votes
1answer
1k views

How to assign a stream to a circuit?

I have a Python script that is configured to connect to 4 different onion services (call them a, b, c, d), and return a value on a page. I'd like to ensure that I create separate circuits to connect ...
2
votes
1answer
982 views

Iterate through List of Exitnodes

I am working on some kind of Exitnode Scanner (Like SoaT from Mike Perry). I have downloaded the list of all running Exitnode-IPs and I want to use each IP to build a 3-hop-circuit (or connect ...
1
vote
1answer
2k views

How to check if Tor socks proxy is working programatically python?

I have installed Tor on a command-line only environment without the browser, Tor Socks Proxy is running on 9050. To check if the proxy code is running correctly i used: % curl --socks5 localhost:...
3
votes
1answer
2k views

How many local concurrent Tor connections can I run?

I'm currently experimenting with Tor via the Stem python lib and using process.launch_tor_with_config() with a pool of processes, each using a different Control Port. However as I increase pool size ...
4
votes
2answers
727 views

How to reuse same .onion address with Tor ephemeral hidden services (python)?

I'm establishing an ephemeral hidden service via Tor, but I wish to reuse the same .onion address. I know to do this I must presist the same private-key every time I run the hidden service, but how do ...