sao: add logging

This commit is contained in:
Hay1tsme 2023-11-09 20:56:33 -05:00
parent 840db275fa
commit e6801c1c46

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