mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
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
.
This commit is contained in:
parent
0d402af17e
commit
62501ce8f2
@ -313,7 +313,7 @@ class UnrealProtocol(TS6BaseProtocol):
|
|||||||
if host == '*':
|
if host == '*':
|
||||||
# A single * means that there is no displayed/virtual host, and
|
# A single * means that there is no displayed/virtual host, and
|
||||||
# that it's the same as the real host
|
# 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
|
raw_ip = args[10].encode() # codecs.decode only takes bytes, not str
|
||||||
if raw_ip == b'*': # Dummy IP (for services, etc.)
|
if raw_ip == b'*': # Dummy IP (for services, etc.)
|
||||||
ip = '0.0.0.0'
|
ip = '0.0.0.0'
|
||||||
|
Loading…
Reference in New Issue
Block a user