mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-14 03:37:29 +08:00
sao: add logging
This commit is contained in:
@@ -131,5 +131,6 @@ class SaoServlet(BaseServlet):
|
|||||||
cipher = Blowfish.new(self.game_cfg.crypt.key, Blowfish.MODE_CBC, iv)
|
cipher = Blowfish.new(self.game_cfg.crypt.key, Blowfish.MODE_CBC, iv)
|
||||||
data_crypt = cipher.encrypt(resp[24:])
|
data_crypt = cipher.encrypt(resp[24:])
|
||||||
resp = resp[:24] + iv + data_crypt
|
resp = resp[:24] + iv + data_crypt
|
||||||
|
self.logger.debug(f"Encrypted Response: {resp.hex()}")
|
||||||
|
|
||||||
return resp
|
return resp
|
||||||
Reference in New Issue
Block a user