forked from p15670423/monkey
restore proxy addressing
This commit is contained in:
parent
cd06eadc9a
commit
cc266329bd
|
@ -178,7 +178,6 @@ class ControlClient(object):
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
proxy_class = HTTPConnectProxy
|
proxy_class = HTTPConnectProxy
|
||||||
target_addr, target_port = WormConfiguration.current_server.split(':', 1)
|
target_addr, target_port = None, None
|
||||||
target_port = int(target_port)
|
|
||||||
|
|
||||||
return tunnel.MonkeyTunnel(proxy_class, target_addr=target_addr, target_port=target_port)
|
return tunnel.MonkeyTunnel(proxy_class, target_addr=target_addr, target_port=target_port)
|
||||||
|
|
Loading…
Reference in New Issue