Closed jt0dd closed 2 years ago
The link you referenced is actually for the UI component @jt0dd . The actual link for the magic function is https://github.com/gchq/CyberChef/blob/7c66dacc4058e6b94e45bb5b58d1dfa6896f37a9/src/core/lib/Magic.mjs#L318
As one can see, it is quite an extensive lift to implement this. Happy to explore pull requests though!
The link you referenced is actually for the UI component @jt0dd . The actual link for the magic function is https://github.com/gchq/CyberChef/blob/7c66dacc4058e6b94e45bb5b58d1dfa6896f37a9/src/core/lib/Magic.mjs#L318
As one can see, it is quite an extensive lift to implement this. Happy to explore pull requests though!
Ah, ok. I looked at it too briefly. Idk if I'm that proficient with my python. That code does look a bit harder to replicate.
The source code to the Magic function used by CyberChef is here: https://github.com/gchq/CyberChef/blob/master/src/core/operations/Magic.mjs
It doesn't seem very complicated. I would try implementing it here and contributing, but I'm wondering if anyone has tried and struggled for some reason related to how this project implements things.