Commit b93f6e13 authored by anonym's avatar anonym

tor-controlport-filter: read the whole control cookie.

... not whatever length it has today.
parent 585470d1
......@@ -302,7 +302,7 @@ class FilteredControlPortProxyHandler(socketserver.StreamRequestHandler):
def connect_to_real_control_port(self):
with open(global_args.control_cookie_path, "rb") as f:
cookie = f.read(32)
cookie = f.read()
controller = stem.control.Controller.from_socket_file(
global_args.control_socket_path
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment