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: Find And Replace with single backslash cannot be loaded back in #319

Closed
DBHeise opened this issue Jun 28, 2018 · 4 comments · May be fixed by ssmbct-netops/CyberChef#54
Closed
Labels

Comments

@DBHeise
Copy link

DBHeise commented Jun 28, 2018

Summary

When loading a simple find/replace where the replacement char is a backslash it cannot be loaded.

Example

From the UI

  • Add "Find / Replace" item
  • Use a "\" as the replace
  • Save Recipie
    Should be something like this:
Find_/_Replace({'option':'Simple string','string':'test'},'\\',true,false,true)
  • Load the recipie you just saved
  • ERROR "Invalid Recipie"
@n1474335 n1474335 added the bug label Aug 3, 2018
@n1474335
Copy link
Member

Good spot, thanks for raising this. I've fixed it now.

@j-mie
Copy link

j-mie commented Dec 10, 2018

@n1474335 I'm still having this issue FYI:
image

Saves as:

Find_/_Replace({'option':'Regex','string':'\\\\'},'\\',true,false,true,false)
Find_/_Replace({'option':'Regex','string':'\\\\\\\\'},'\\\\',true,false,true,false)

I can make a new issue for this if you'd like?

@n1474335
Copy link
Member

Hmm, that's weird. That save string is correct, but it doesn't load correctly. Reopening this issue.

@j433866
Copy link
Member

j433866 commented May 9, 2019

Closed in #552

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.

4 participants