mirror of
https://github.com/antitree/private-tor-network
synced 2024-11-16 04:03:49 +00:00
updating script to show IPs
This commit is contained in:
parent
422b496921
commit
f2ffebf95a
@ -3,5 +3,6 @@ from stem.control import Controller
|
||||
with Controller.from_port(port = 9051) as controller:
|
||||
controller.authenticate("password")
|
||||
|
||||
print("List of relays found on the network:")
|
||||
for desc in controller.get_network_statuses():
|
||||
print("found relay %s (%s)" % (desc.nickname, desc.fingerprint))
|
||||
print("%s (%s) at %s" % (desc.nickname, desc.fingerprint, desc.address))
|
||||
|
Loading…
Reference in New Issue
Block a user