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

Add "%" delimiter option to "From Hex" #56

Closed
apolkosnik opened this issue Jan 17, 2017 · 1 comment
Closed

Add "%" delimiter option to "From Hex" #56

apolkosnik opened this issue Jan 17, 2017 · 1 comment

Comments

@apolkosnik
Copy link

JS unescape() decodes hex values prepended with "%". It would be nice to have.

@n1474335
Copy link
Member

Hi @apolkosnik,

Hex values prefixed with '%' are a special case known as 'URL encoding' or 'Percent-encoding'. CyberChef handles this using the 'URL encode' and 'URL decode' operations.

For example: https://gchq.github.io/CyberChef/?recipe=%5B%7B%22op%22%3A%22URL%20Decode%22%2C%22args%22%3A%5B%5D%7D%5D&input=SGVsbG8lMkMlMjB3b3JsZCUyMQ

Using 'URL decode' is preferable to 'From Hex' in this situation because it helpfully ignores characters which are not encoded. 'From Hex' would try to treat everything as hex and mess things up.

I'll close this issue now, but may add the ability to specify custom delimiters for 'To Hex' and 'From Hex' in future.

BRAVO68WEB pushed a commit to BRAVO68WEB/CyberChef that referenced this issue May 29, 2022
[FEATURE] Adds support for guest access
Fixes gchq#56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants