From 28bb10981f1f43d093f81d4b45300ec3de5493bd Mon Sep 17 00:00:00 2001 From: Adnan Khan Date: Tue, 19 Dec 2023 09:58:39 -0500 Subject: [PATCH] Fix print issue. Decoding the clear-text so it's readable. The actual issue before which was causing stack traces was the encryption bug, which is fixed now. --- gato/attack/attack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gato/attack/attack.py b/gato/attack/attack.py index 553c232..e830c2c 100644 --- a/gato/attack/attack.py +++ b/gato/attack/attack.py @@ -587,7 +587,7 @@ def secrets_dump( if len(blob) == 2: cleartext = Attacker.__decrypt_secrets(priv_key, blob) Output.owned("Decrypted and Decoded Secrets:") - print(cleartext) + print(cleartext.decode()) else: Output.error(