diff --git a/gidra/__main__.py b/gidra/__main__.py index 5e24f9b6..be51b40b 100644 --- a/gidra/__main__.py +++ b/gidra/__main__.py @@ -78,7 +78,7 @@ def handle_query_cur(): def initProxy(): #proxy.add(change_account.router) #proxy.add(change_nickname.router) - # proxy.add(windseed_blocker.router) # Already blocked in proxy as kcp crashes + # proxy.add(windseed_blocker.router) # Use at your own risk (check README.md) proxy.add(seed_exchange.router) proxy.add(checksum_bypass.router) #proxy.add(commands.router) diff --git a/gidra/proxy/__init__.py b/gidra/proxy/__init__.py index 54ef13dd..d15d6ba7 100644 --- a/gidra/proxy/__init__.py +++ b/gidra/proxy/__init__.py @@ -132,10 +132,6 @@ def handle(self, data: bytes, direction: PacketDirection): self.counter+=1 if handler := self.router.get(packet.cmdid, PacketDirection(direction.value ^ 1)): - # if(packet.cmdid != CmdID.WindSeedClientNotify): # Windy blocker - # handler(self, packet.body) - # else: - # logger.debug('Blocked Windy, L mihoyo') handler(self, packet.body) else: self.send_raw(data, direction)