Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tamilpp25 committed Oct 26, 2022
1 parent 96a0827 commit 64f5ea0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion gidra/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions gidra/proxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 64f5ea0

Please sign in to comment.