From 64f5ea087574ca58e765697940f2cc4d42423e4a Mon Sep 17 00:00:00 2001 From: tamilpp25 Date: Thu, 27 Oct 2022 00:20:46 +0530 Subject: [PATCH] cleanup --- gidra/__main__.py | 2 +- gidra/proxy/__init__.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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)