Spooky hex output for byte input
See original GitHub issue⚠️IMPORTANT⚠️ if you do not fill this out, we will automatically delete your issue. We will not help anyone that cannot fill out this template.
- Have you read our Wiki page “Common Issues & Their Solutions”?
Describe the bug
Ciphey outputs random hex digit pairs when run on practically any ciphertext when set to bytes mode, and when the output is not redirected (i.e. into less
)
Plaintext ⚠️IMPORTANT⚠️ The below code is non-negotiable for “Ciphey didn’t decrypt…” problems. If you do not tell us your plaintext, we will not help you.
hello, world
or any other string
Version ⚠️IMPORTANT⚠️ We need this information because different environments will induce different bugs in Ciphey
- OS/Distro: Debian
- Python version: Python 3.8.5
- Ciphey versions: master (775fabe)
- Did you use Docker? Nope
Verbose Output ⚠️IMPORTANT⚠️ Verbose output will tell us why it’s not working the way we expected it to be. https://pastebin.com/Gg41gpgU
To Reproduce Steps to reproduce the behavior:
$ ciphey -t "hello, world" -b -C regex -p regex.regex=random_unmatchable_text
6c
6d
6c
6e
6c
6b
6c
6f
6c
73
6c
71
6c
72
6c
24
6c
79
72
73
72
70
72
75
72
71
72
6d
72
6f
72
6c
72
3a
72
67
....
Expected behavior No spooky hex
Any other information? Nope
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top GitHub Comments
Issue-Label Bot is automatically applying the label
feature_request
to this issue, with a confidence of 0.64. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
This is fixed now.