mirror of
https://github.com/antitree/private-tor-network
synced 2024-11-16 04:03:49 +00:00
updating password for control port auth
This commit is contained in:
parent
436400bac8
commit
8690f647e3
@ -1,7 +1,7 @@
|
||||
from stem.control import Controller
|
||||
|
||||
with Controller.from_port(port = 9051) as controller:
|
||||
controller.authenticate("balls")
|
||||
controller.authenticate("password")
|
||||
|
||||
for desc in controller.get_network_statuses():
|
||||
print("found relay %s (%s)" % (desc.nickname, desc.fingerprint))
|
||||
|
Loading…
Reference in New Issue
Block a user