Skip to content

Commit

Permalink
Fix print issue.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AdnaneKhan authored Dec 19, 2023
1 parent ea8f15f commit 28bb109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gato/attack/attack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 28bb109

Please sign in to comment.