Simple script to test a list of URLs via tor with exit-nodes in different countries.
Notes
- Only tested with Python3.9, on linux with a terminal supporting ANSI escape codes.
- Does only send one request to each site from each exit-node.
- It does try to verify that the exit-node is in the correct country, but it will not try to fix it if it is in the wrong country. It will however mention it in the terminal output.
- If you want more verbose output, it creates logfiles in
logs/<timestamp>.log
which contains the full logs.
Usage
You need to have python3
, pip
, make
and tor
installed (e.g. apt/dnf install python3 python3-pip make tor
).
make
source venv/bin/activate
python tor-site-tester.py -h
Defaults to use ports 7000 and up, and 9000 and up. Needs two ports for each country.