gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

Home Page:https://gchq.github.io/CyberChef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug report: Answer field in json format

povilassl opened this issue · comments

Describe the bug
The answer field shows a json format instead of a table with answers / entropies

To Reproduce
Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug:

  1. add magic
  2. add rot13
  3. works with any text

Expected behaviour
Should rotate the characters of the magic output

Screenshots
If applicable, add screenshots to help explain your problem.

  • Version: 9.37.0
  • Compile time: 29/03/2022 17:07:59 UTC
  • User-Agent:
    Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
  • Link to reproduce

Capture
Capture

Magic outputs a JSON object under the hood which is then rendered to the HTML table you'll see if it's the final stage of a recipe. What are you trying to achieve? If you place the HTML To Text operation after magic you can see the JSON. You could then parse out the proposed outputs using the JPath expression operation.

Okay, thank you. My magic had a single output, thought I could simply pass it to Rot. Just looked kind of weird when I first encountered that answer