https://github.com/g0ldenrat10/pytor-ip-changer
Python-based script designed to help you rotate your IP address via the Tor network any second and whatever many times you want.
https://github.com/g0ldenrat10/pytor-ip-changer
changer ip ipchanger ipv4 ipv6 proxy python python3 requests tor vpn
Last synced: 12 months ago
JSON representation
Python-based script designed to help you rotate your IP address via the Tor network any second and whatever many times you want.
- Host: GitHub
- URL: https://github.com/g0ldenrat10/pytor-ip-changer
- Owner: G0ldenRat10
- Created: 2025-05-04T22:47:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-05T08:33:59.000Z (about 1 year ago)
- Last Synced: 2025-05-08T00:11:59.097Z (about 1 year ago)
- Topics: changer, ip, ipchanger, ipv4, ipv6, proxy, python, python3, requests, tor, vpn
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PyTor IP Changer
PyTor is a Python-based script designed to help you rotate your IP address via the Tor network, ensuring enhanced anonymity and privacy. The tool uses the Tor service to change your IP address and provides a simple way to verify the IP change and fetch geolocation information based on the new IP.

# Features
- Rotates your IP address using the Tor network.
- Fetches and displays the new IP address.
- Retrieves geolocation information (city, region, country) based on the new IP.
- Configurable intervals for IP rotation.
- Can run in an infinite loop for continuous IP changes.
# How to Run the Script
1. Clone the repository
git clone https://github.com/G0ldenRat10/PyTor-IP-Changer.git
cd PyTor-IP-Changer
2. Run the script
sudo python3 pytor.py
# Requirements
The script automatically installs any necessary dependencies (such as curl, tor, and requests) when it runs, so no manual installation is required.
However, make sure that Tor is installed and running on your system. The script will check for the required dependencies and install them if they are missing.
Also it's important to have python3 and pip installed to run this program !
sudo apt install python3 python3-pip -y
# New Version 1.2.0
- Version upgrade from 1.1.0 ----> 1.2.0
- Upgraded get_ip() function ----> It now has secondary and tertiary services if primary one fails.
- Upgraded show_ip_location() ----> Now it randomly selects one of three geolocation APIs to provide the location information. More resilient to service failures.
- Better code organization, error handling, user interactivity and feedback.
# Youtube Tutorial
How to make it work for Firefox or other web browsers, connect to port 9050, enable SOCKS5, code explanation and much more:
[Youtube Video Link](https://www.youtube.com/watch?v=lH5h_PO5hFI&lc=UgylLkXPRhuqQEwbb5h4AaABAg)