Skip to content

Feature request: Warn against invalid hex input #1918

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

Open
seritools opened this issue Sep 29, 2024 · 1 comment · May be fixed by #2032
Open

Feature request: Warn against invalid hex input #1918

seritools opened this issue Sep 29, 2024 · 1 comment · May be fixed by #2032
Labels

Comments

@seritools
Copy link

Is your feature request related to a problem? Please describe.

I forgot to switch the XOR key input field from hex to UTF8. Ideally, CyberChef would have warned if the input contains non-whitespace, non-[0123456789abcdef] inputs.

https://cyberchef.org/#recipe=XOR(%7B'option':'Hex','string':'Why%20is%20this%20allowed'%7D,'Standard',false)&input=U29tZSB0ZXN0IHN0cmluZw

Describe the solution you'd like

A warning or something would be nice to see

Additional context

Wasted like 2h in flare-on because of this 🙃

@RyanChernoff
Copy link

Hello, I would like to attempt to fix this issue. I looked through the changes in #1975 and it seems relatively simple to alter the xor to give a warning when there are non-hex characters in the hex input. I think this would help alleviate some of the confusion that led to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants