From 62501ce8f2d9708ffa0670b7d912ad6de56ffd3b Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 28 Nov 2015 20:55:14 -0800 Subject: [PATCH] unreal: actually, storing the cloaked host instead of the real host is a better idea This prevents IP leaks, at least until #136 is fixed. Reverts part of b965f2c. --- protocols/unreal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/unreal.py b/protocols/unreal.py index e5623f2..46770f8 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -313,7 +313,7 @@ class UnrealProtocol(TS6BaseProtocol): if host == '*': # A single * means that there is no displayed/virtual host, and # that it's the same as the real host - host = realhost + host = args[9] raw_ip = args[10].encode() # codecs.decode only takes bytes, not str if raw_ip == b'*': # Dummy IP (for services, etc.) ip = '0.0.0.0'