mirror of
https://github.com/antitree/private-tor-network
synced 2025-02-26 05:38:47 +00:00
8 lines
245 B
Python
8 lines
245 B
Python
|
from stem.control import Controller
|
||
|
|
||
|
with Controller.from_port(port = 9051) as controller:
|
||
|
controller.authenticate("balls")
|
||
|
|
||
|
for desc in controller.get_network_statuses():
|
||
|
print("found relay %s (%s)" % (desc.nickname, desc.fingerprint))
|