1
0
Fork 0

sao: add logging

This commit is contained in:
Hay1tsme 2023-11-09 20:56:33 -05:00
parent 840db275fa
commit e6801c1c46
1 changed files with 1 additions and 0 deletions

View File

@ -131,5 +131,6 @@ class SaoServlet(BaseServlet):
cipher = Blowfish.new(self.game_cfg.crypt.key, Blowfish.MODE_CBC, iv)
data_crypt = cipher.encrypt(resp[24:])
resp = resp[:24] + iv + data_crypt
self.logger.debug(f"Encrypted Response: {resp.hex()}")
return resp