Update websocketproxy.py

This commit is contained in:
IngenieroRicardo 2025-08-15 13:16:19 -06:00 committed by GitHub
parent a02143ce85
commit 043df1f8b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -186,7 +186,13 @@ Traffic Legend:
if result_pair is not None: if result_pair is not None:
return result_pair return result_pair
else: else:
raise self.server.EClose("Token '%s' not found" % token) #agregado por Ricardo Valladares para aceptar: http://10.0.1.7:6080/vnc.html?path=?token=192.100.1.100:5900
#asi como tambien: http://10.0.1.7:6080/vnc.html?path=?token=servidor
if ":" in token:
partes = token.split(":", 1)
return partes[0].strip(), partes[1].strip()
else:
raise self.server.EClose("Token '%s' not found" % token)
def do_proxy(self, target): def do_proxy(self, target):
""" """