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

Bug report: Character causing error #1208

Open
SadiinsoSnowfall opened this issue Jun 11, 2021 · 2 comments · Fixed by Benjamin-KY/CyberChef#14 · 4 remaining pull requests
Open

Bug report: Character causing error #1208

SadiinsoSnowfall opened this issue Jun 11, 2021 · 2 comments · Fixed by Benjamin-KY/CyberChef#14 · 4 remaining pull requests
Labels

Comments

@SadiinsoSnowfall
Copy link

Describe the bug
the character is causing an error (only in the console, not shown to the user) even when using an empty recipe.

To Reproduce
Create a new empty recipe
Set the following text in the input field: ["’"]

Expected behaviour
The following error will be thrown in the console:

Uncaught (in promise) Error: Error translating from string to ArrayBuffer: TypeError: self.setOption is not a function
    at e.value (000e5a24-7352-4bfc-819b-afa3d26780dd:2)
    at 000e5a24-7352-4bfc-819b-afa3d26780dd:2
    at new Promise (<anonymous>)
    at e.value (000e5a24-7352-4bfc-819b-afa3d26780dd:2)
    at 000e5a24-7352-4bfc-819b-afa3d26780dd:2
    at new Promise (<anonymous>)
    at e.value (000e5a24-7352-4bfc-819b-afa3d26780dd:2)
    at 000e5a24-7352-4bfc-819b-afa3d26780dd:2
    at f (000e5a24-7352-4bfc-819b-afa3d26780dd:2)
    at Generator._invoke (000e5a24-7352-4bfc-819b-afa3d26780dd:2)

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

Desktop (if relevant, please complete the following information):

  • OS: Windows
  • Browser: Edge 90, Chrome 91
  • CyberChef version: 9.28.0

Does not affect FireFox 52 nor FireFox 60

@SadiinsoSnowfall
Copy link
Author

Correction:
no need to put ["’"] in the input field, alone also produce the error, I initially thought the error was caused by the JSON Beautifier filter because I found it when parsing a JSON text.

@CherryDT
Copy link

I also encountered this when trying XOR bruteforce with key length 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment