Skip to main content

TorNet - Automate IP address changes using Tor

Project description

TorNet

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.

Benefits

  • Enhanced Privacy: By regularly changing your IP address, TorNet makes it much harder for websites and trackers to monitor your online activity.
  • Increased Security: Frequent IP changes can help protect you from targeted attacks and make it more difficult for malicious actors to track your online presence.
  • Anonymity: Using Tor, TorNet helps you maintain a high level of anonymity while browsing the internet.
  • Ease of Use: AutoIP is designed to be simple and easy to use, whether you prefer command-line tools or integrating it directly into your Python scripts.
  • Protection from Tracking: With your IP address changing frequently, tracking services and advertisers will find it more challenging to build a profile on you.
  • Peace of Mind: Knowing that your IP address is regularly changed can give you confidence in your online privacy and security.

Installation

To install TorNet, use pip:

pip install tornet

Usage

TorNet provides a command-line interface for easy use. Here are the available options:

tornet --interval <seconds> --count <number>
  • --interval (optional): Time in seconds between IP changes (default is 60 seconds).
  • --count (optional): Number of times to change the IP (default is 10 times). If set to 0, the IP will be changed indefinitely.
  • --ip (optional): Display the current IP address and exit.
  • --auto-fix (optional): Automatically fix issues (install/upgrade packages).
  • --help: Show the help message and exit.
  • --version: Show the version number and exit.

Examples

Change the IP address every 30 seconds, for a total of 5 times:

tornet --interval 30 --count 5

Change the IP address every 60 seconds indefinitely:

tornet --interval 60 --count 0

Display the current IP address:

tornet --ip

Automatically fix issues (install/upgrade packages):

tornet --auto-fix

In Your Python Code

You can also use TorNet within your Python scripts if needed.

from tornet import ma_ip, change_ip, initialize_environment, change_ip_repeatedly

# Initialize the environment (install dependencies and start Tor)
initialize_environment()

# Get the current IP
current_ip = ma_ip()
print("Current IP:", current_ip)

# Change the IP once
new_ip = change_ip()
print("New IP:", new_ip)

# Change the IP repeatedly
change_ip_repeatedly(60, 10)

Thanks

Thank you for using TorNet! We hope this tool helps you secure your network and maintain your privacy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tornet-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tornet-1.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file tornet-1.0.0.tar.gz.

File metadata

  • Download URL: tornet-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for tornet-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c11589c5aa5fdf5db7bc0e28f0c157920b683bac508cc8cfbfc22b97b3a5720e
MD5 50aa1cb0e6f9190d2e198da9ff50c70b
BLAKE2b-256 0930ad5be2dd6aa8f27ef0cabe3603a192eba954539e3b14918498e6220d8e18

See more details on using hashes here.

File details

Details for the file tornet-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tornet-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for tornet-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc83da8e81451c57ae8f05c3eb20577bac2b18ba23a7d05d874173c9914aa15e
MD5 164ce810ffe1ab2f0f16a4b45bf6c255
BLAKE2b-256 713707591ea443fd6a297805585002beb004cf4b013f9cfe7390331b758ea02c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page