-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to-do list #1
Comments
Style
What if I say you can just not mention the port? Line 41 in d52b34e
Nyx uses tor_controller port imported from Stem https://gitweb.torproject.org/nyx.git/tree/nyx/panel/header.py#n105, using the default port.
|
Interesting cheers!
|
Reading the var description again, does not fit
If you hash the password, you need to input every time or save into a variable inside the file for organization, but this would kill the objective of hashing the password if you save it in plain text. Line 101 in d52b34e
controller.authenticate() There is debate about using Cookies or Hashed password. Mention in the torrc manual.
Summaryfrom this:
from stem import Signal
from stem.control import Controller
with Controller.from_port(port = 9051) as controller:
controller.authenticate(password=tor_password)
controller.signal(Signal.NEWNYM) to this
from stem import Signal
from stem.control import Controller
with Controller.from_port() as controller:
controller.authenticate()
controller.signal(Signal.NEWNYM) Regarding automationVery cool what you did, as I can see, you managed to keep it compatible with different systems, but I still think it can be automated to just asking for tx at maximum. Following this, just remains to input tx:
One thing I think can be enhanced, is comparing IPs with Tor before and after signaling newnym, to check it it differentiate, this would provide 100% accuracy to check if it worked. Yes, there is this error handling, if connection was refused, maybe ok? Actually, this is based on the exit node, and the exit node can be the same sometimes but the circuit change, this probability is lower nowadays, but won't say it is impossible. Worth checking out circuits here https://stem.torproject.org/tutorials/down_the_rabbit_hole.html |
This is very useful. Thank you for doing this! |
The text was updated successfully, but these errors were encountered: