Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Allow recipe pipeline to work on 'JSON' data instead of strings #1987

Open
vdelau opened this issue Feb 24, 2025 · 0 comments
Labels

Comments

@vdelau
Copy link

vdelau commented Feb 24, 2025

Is your feature request related to a problem? Please describe.
While CyberChef is a very powerful tool, operations are working on strings. For certain problems that requires trying to interpret the string, for instance with regular expressions (Subsection).

An example use case I had, was that I needed to base64 decode part of a URI query parameter, using split to split the value.

Describe the solution you'd like
It would be very powerful if certain operations can optionally work on structured data. In the title I've mentioned 'JSON', altough that is more intended as a processing model than literal JSON.

For instance, ParseURL could have an option to return structured data instead of a string. Subsection could than select its target based on a JSON path instead of a regular expression.

All this would probably require operations to have a bit more meta-data and configuration to specify if they can accept strings and/or structured data and if they can produce string and/or structured data. I do think this would make CyberChef even more powerful.

Additional context
With the above changes, the following issues would probably be easily solvable:
#1820
#1756

@vdelau vdelau added the feature label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant