tornet


Nametornet JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/ByteBreac/tornet
SummaryTorNet - Automate IP address changes using Tor
upload_time2024-06-16 07:03:25
maintainerNone
docs_urlNone
authorFidal
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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**: TorNet 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:

```bash
pip install tornet
```

## Usage

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

```bash
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.
- `--stop` (optional): Stop all Tor services and TorNet processes and exit.
- `--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.

## How It Works

TorNet uses the Tor network to route your internet traffic through multiple nodes, effectively masking your IP address. By periodically changing the IP address, TorNet ensures that your online activity remains anonymous and secure. This can be particularly useful for:

- **Privacy enthusiasts** who want to minimize their digital footprint.
- **Security professionals** who need to conduct penetration testing or other security assessments without revealing their true IP address.
- **Journalists and activists** operating in regions with internet censorship or surveillance.

### Examples

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

```bash
tornet --interval 30 --count 5
```

Change the IP address every 60 seconds indefinitely:

```bash
tornet --interval 60 --count 0
```

Stop all Tor services and TorNet processes:

```bash
tornet --stop
```

Display the current IP address:

```bash
tornet --ip
```

Automatically fix issues (install/upgrade packages):

```bash
tornet --auto-fix
```

## Configuring Your Browser to Use TorNet

To ensure your browser uses the Tor network for anonymity, you need to configure it to use TorNet's proxy settings:

1. **Firefox**:
    - Go to `Preferences` > `General` > `Network Settings`.
    - Select `Manual proxy configuration`.
    - Enter `127.0.0.1` for `SOCKS Host` and `9050` for the `Port` (or your specified values if different).
    - Ensure the checkbox `Proxy DNS when using SOCKS v5` is checked.
    - Click `OK`.
<img src="https://bytebreach.github.io/img/port.png" alt="Firefox Configuration Example" />


## In Your Python Code

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

```python
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)
```

## Troubleshooting

If you encounter any issues while using TorNet, here are a few steps you can take:

- Ensure that Tor is installed and running on your system.
- Make sure your internet connection is stable.
- Use the `--auto-fix` option to automatically install or upgrade required packages.
- Check the Tor logs for any error messages that might indicate connectivity problems.

## Contributing

We welcome contributions from the community! If you have an idea for a new feature or have found a bug, please open an issue on our [GitHub repository](https://github.com/ByteBreach/tornet).

## License

TorNet is released under the MIT License. See the LICENSE file for more details.

## Acknowledgements

We would like to thank the developers of the Tor project for their work in creating a robust and secure anonymity network.

## Thanks

Thank you for using TorNet! We hope this tool helps you secure your network and maintain your privacy. If you have any feedback or suggestions, please feel free to reach out to us.

---

By following this guide, you should be able to effectively use TorNet to enhance your online privacy and security. Happy browsing!

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ByteBreac/tornet",
    "name": "tornet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Fidal",
    "author_email": "mrfidal@proton.me",
    "download_url": "https://files.pythonhosted.org/packages/12/d5/644338eb751f967930118d45e62226108f524b1833e241d14b465b118d87/tornet-2.0.0.tar.gz",
    "platform": null,
    "description": "# TorNet\r\n\r\nTorNet 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.\r\n\r\n## Benefits\r\n\r\n- **Enhanced Privacy**: By regularly changing your IP address, TorNet makes it much harder for websites and trackers to monitor your online activity.\r\n- **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.\r\n- **Anonymity**: Using Tor, TorNet helps you maintain a high level of anonymity while browsing the internet.\r\n- **Ease of Use**: TorNet is designed to be simple and easy to use, whether you prefer command-line tools or integrating it directly into your Python scripts.\r\n- **Protection from Tracking**: With your IP address changing frequently, tracking services and advertisers will find it more challenging to build a profile on you.\r\n- **Peace of Mind**: Knowing that your IP address is regularly changed can give you confidence in your online privacy and security.\r\n\r\n## Installation\r\n\r\nTo install TorNet, use pip:\r\n\r\n```bash\r\npip install tornet\r\n```\r\n\r\n## Usage\r\n\r\nTorNet provides a command-line interface for easy use. Here are the available options:\r\n\r\n```bash\r\ntornet --interval <seconds> --count <number>\r\n```\r\n\r\n- `--interval` (optional): Time in seconds between IP changes (default is 60 seconds).\r\n- `--count` (optional): Number of times to change the IP (default is 10 times). If set to 0, the IP will be changed indefinitely.\r\n- `--stop` (optional): Stop all Tor services and TorNet processes and exit.\r\n- `--ip` (optional): Display the current IP address and exit.\r\n- `--auto-fix` (optional): Automatically fix issues (install/upgrade packages).\r\n- `--help`: Show the help message and exit.\r\n- `--version`: Show the version number and exit.\r\n\r\n## How It Works\r\n\r\nTorNet uses the Tor network to route your internet traffic through multiple nodes, effectively masking your IP address. By periodically changing the IP address, TorNet ensures that your online activity remains anonymous and secure. This can be particularly useful for:\r\n\r\n- **Privacy enthusiasts** who want to minimize their digital footprint.\r\n- **Security professionals** who need to conduct penetration testing or other security assessments without revealing their true IP address.\r\n- **Journalists and activists** operating in regions with internet censorship or surveillance.\r\n\r\n### Examples\r\n\r\nChange the IP address every 30 seconds, for a total of 5 times:\r\n\r\n```bash\r\ntornet --interval 30 --count 5\r\n```\r\n\r\nChange the IP address every 60 seconds indefinitely:\r\n\r\n```bash\r\ntornet --interval 60 --count 0\r\n```\r\n\r\nStop all Tor services and TorNet processes:\r\n\r\n```bash\r\ntornet --stop\r\n```\r\n\r\nDisplay the current IP address:\r\n\r\n```bash\r\ntornet --ip\r\n```\r\n\r\nAutomatically fix issues (install/upgrade packages):\r\n\r\n```bash\r\ntornet --auto-fix\r\n```\r\n\r\n## Configuring Your Browser to Use TorNet\r\n\r\nTo ensure your browser uses the Tor network for anonymity, you need to configure it to use TorNet's proxy settings:\r\n\r\n1. **Firefox**:\r\n    - Go to `Preferences` > `General` > `Network Settings`.\r\n    - Select `Manual proxy configuration`.\r\n    - Enter `127.0.0.1` for `SOCKS Host` and `9050` for the `Port` (or your specified values if different).\r\n    - Ensure the checkbox `Proxy DNS when using SOCKS v5` is checked.\r\n    - Click `OK`.\r\n<img src=\"https://bytebreach.github.io/img/port.png\" alt=\"Firefox Configuration Example\" />\r\n\r\n\r\n## In Your Python Code\r\n\r\nYou can also use TorNet within your Python scripts if needed.\r\n\r\n```python\r\nfrom tornet import ma_ip, change_ip, initialize_environment, change_ip_repeatedly\r\n\r\n# Initialize the environment (install dependencies and start Tor)\r\ninitialize_environment()\r\n\r\n# Get the current IP\r\ncurrent_ip = ma_ip()\r\nprint(\"Current IP:\", current_ip)\r\n\r\n# Change the IP once\r\nnew_ip = change_ip()\r\nprint(\"New IP:\", new_ip)\r\n\r\n# Change the IP repeatedly\r\nchange_ip_repeatedly(60, 10)\r\n```\r\n\r\n## Troubleshooting\r\n\r\nIf you encounter any issues while using TorNet, here are a few steps you can take:\r\n\r\n- Ensure that Tor is installed and running on your system.\r\n- Make sure your internet connection is stable.\r\n- Use the `--auto-fix` option to automatically install or upgrade required packages.\r\n- Check the Tor logs for any error messages that might indicate connectivity problems.\r\n\r\n## Contributing\r\n\r\nWe welcome contributions from the community! If you have an idea for a new feature or have found a bug, please open an issue on our [GitHub repository](https://github.com/ByteBreach/tornet).\r\n\r\n## License\r\n\r\nTorNet is released under the MIT License. See the LICENSE file for more details.\r\n\r\n## Acknowledgements\r\n\r\nWe would like to thank the developers of the Tor project for their work in creating a robust and secure anonymity network.\r\n\r\n## Thanks\r\n\r\nThank you for using TorNet! We hope this tool helps you secure your network and maintain your privacy. If you have any feedback or suggestions, please feel free to reach out to us.\r\n\r\n---\r\n\r\nBy following this guide, you should be able to effectively use TorNet to enhance your online privacy and security. Happy browsing!\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "TorNet - Automate IP address changes using Tor",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/ByteBreac/tornet"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d842a61192a6a3ecf856000819c9be85d2eec6735aa87925c42b99b5e6d373d0",
                "md5": "465e6630f86e33b8b5387319025d127a",
                "sha256": "4e9302eac420a6a6b20b202fc0f64a61aa95ea6f950013ac589287f9c137184b"
            },
            "downloads": -1,
            "filename": "tornet-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "465e6630f86e33b8b5387319025d127a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 7265,
            "upload_time": "2024-06-16T07:03:23",
            "upload_time_iso_8601": "2024-06-16T07:03:23.539279Z",
            "url": "https://files.pythonhosted.org/packages/d8/42/a61192a6a3ecf856000819c9be85d2eec6735aa87925c42b99b5e6d373d0/tornet-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12d5644338eb751f967930118d45e62226108f524b1833e241d14b465b118d87",
                "md5": "856c5ea29f015b67bfa70ff0610c7965",
                "sha256": "9b891160394be7a66ab5a4cb83d9c4460207acbc35a87d5867541d48eb4e21ea"
            },
            "downloads": -1,
            "filename": "tornet-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "856c5ea29f015b67bfa70ff0610c7965",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 6981,
            "upload_time": "2024-06-16T07:03:25",
            "upload_time_iso_8601": "2024-06-16T07:03:25.579927Z",
            "url": "https://files.pythonhosted.org/packages/12/d5/644338eb751f967930118d45e62226108f524b1833e241d14b465b118d87/tornet-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-16 07:03:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ByteBreac",
    "github_project": "tornet",
    "github_not_found": true,
    "lcname": "tornet"
}
        
Elapsed time: 0.44021s