diff --git a/src/cscli/main.ts b/src/cscli/main.ts index daf4695..e84413c 100644 --- a/src/cscli/main.ts +++ b/src/cscli/main.ts @@ -29,6 +29,7 @@ export default class CSCLI { } public async handle(socket: net.Socket, data: Buffer) { + console.log(data.toString().trim()); const args = data.toString().trim().split('$'); const verification = this.verifyConnection(args[1], args[0]); if (!verification) { @@ -62,6 +63,7 @@ export default class CSCLI { const hmac = crypto.createHmac('sha256', this.#hmac); hmac.update(data); const computed = hmac.digest('hex'); + console.log(computed); if (computed === key) return true; return false; }