forked from Hay1tsme/artemis
sao: add logging
This commit is contained in:
parent
840db275fa
commit
e6801c1c46
@ -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
|
Loading…
Reference in New Issue
Block a user