https://github.com/gillesxr/change_exit_node
Change TOR browser exit node with CLI or GUI.
https://github.com/gillesxr/change_exit_node
invoke python tor urwid
Last synced: 6 months ago
JSON representation
Change TOR browser exit node with CLI or GUI.
- Host: GitHub
- URL: https://github.com/gillesxr/change_exit_node
- Owner: gillesxr
- Created: 2024-10-08T09:16:20.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-24T13:06:28.000Z (over 1 year ago)
- Last Synced: 2025-01-28T16:16:45.987Z (about 1 year ago)
- Topics: invoke, python, tor, urwid
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: change_exit_node/__init__.py
Awesome Lists containing this project
README
# Change TOR browser exit node #
## From command line or GUI ##
[](https://github.com/gillesxr/change_exit_node) [](http://unmaintained.tech/)
## TL;DR ##
If you prefer a one-line command, the following will solve your problem:
`sed -i 's/ExitNodes {[a-zA-Z]\+}/ExitNodes {us}/1' torrc`
This command will replace the current exit node with a node in the USA.
## What's the problem ? ##
Sometimes the web resource you want to access is restricted to a particular geographic area, especially due to rights issues, such as those encountered with sporting events.
To solve this problem you can either move to the country in question, which can be expensive, or use the [TOR browser](https://www.torproject.org).
By default, the TOR browser selects an exit node (the computer that accesses the resource) in a randomly selected country. This exit node can be set by editing the browser's configuration file named *torrc*.
If you want to access different geographics areas, it becomes tedious to edit this file manually. The `change_exit_node` script allows you to make this change from the command line or through a graphical interface.