mirror of
https://github.com/eznix86/docker-tor-python-request.git
synced 2026-07-25 20:49:02 +00:00
Get IP from a proxied request via Tor
- Python 86.2%
- Dockerfile 8.2%
- Shell 4.6%
- Makefile 1%
| utils | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| main.py | ||
| Makefile | ||
| README.md | ||
| requirements.txt | ||
| run.sh | ||
TOR control w/ Python stem
This is a quick proof of concept to show how to change the path (therefore the end-node public IP) of a TOR/Privoxy container.
More simply put: change your public IP address with Python while hiding yo' tracks.
Walkthrough
pip install requirements.txt
python main.py
Docker
Easy enough with docker-compose:
docker-compose up
Manual single docker creation if you don't want to use docker-compose:
docker run -it \
-p 8118:8118 \
-p 9050:9050 \
-p 9051:9051 \
--name tor-test \
-d dperson/torproxy \
-p password
Change "password" in docker and the scripts for production.