BUGFIX: Tor hidden service was being closed after publication
This commit is contained in:
+3
-1
@@ -59,7 +59,9 @@ with Controller.from_port(port = torControllerPort) as controller:
|
||||
|
||||
print("Connected to Tor on port %s" % (torControllerPort))
|
||||
|
||||
service = controller.create_ephemeral_hidden_service(sshPort)
|
||||
service = controller.create_ephemeral_hidden_service(
|
||||
sshPort,
|
||||
detached = True)
|
||||
|
||||
onionAddress = "%s.onion" % (service.service_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user