Skip to content

ayadseghairi/tornet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TorNet

Automates IP address rotation via the Tor network.
Published on PyPI · 252 ⭐

Installation

pip install python-tornet
yay -S python-tornet  # Arch Linux

Usage

tornet --interval 60 --count 10   # Change IP every 60s, 10 times
tornet --interval 60 --count 0    # Change IP indefinitely
tornet --ip                        # Show current IP
tornet --stop                      # Stop all processes
tornet --auto-fix                  # Fix missing dependencies

Verify Your IP

curl --socks5 127.0.0.1:9050 https://check.torproject.org/api/ip

Python API

from tornet import ma_ip, change_ip, initialize_environment, change_ip_repeatedly

initialize_environment()
print("Current IP:", ma_ip())
print("New IP:", change_ip())
change_ip_repeatedly(60, 10)

Browser Configuration (Firefox)

PreferencesNetwork SettingsManual proxy
SOCKS Host: 127.0.0.1 · Port: 9050 · Enable: Proxy DNS when using SOCKS v5

License

MIT · Based on ByteBreach/tornet

About

TorNet is a Python package that automates IP address changes using Tor. It is a top tool for securing your networks by frequently changing your IP address, making it difficult for trackers to pinpoint your location.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors