diff --git a/src/cscli/main.ts b/src/cscli/main.ts index eaa0134..930f184 100644 --- a/src/cscli/main.ts +++ b/src/cscli/main.ts @@ -34,7 +34,10 @@ export default class CSCLI { delete verificationParsed.HMAC; verificationParsed = JSON.stringify(verificationParsed); const verification = this.verifyConnection(parsed.HMAC, verificationParsed); - if (!verification) return socket.destroy(); + if (!verification) { + socket.write('UNAUTHORIZED TO EXECUTE ON THIS SERVER\n'); + return socket.destroy(); + } // FINISH VERIFICATION CHECKS switch (parsed.Type) { case 'lock':