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

Is it possible to decrypt a jsfucked code? #47

Closed
fritx opened this issue Jan 16, 2016 · 4 comments
Closed

Is it possible to decrypt a jsfucked code? #47

fritx opened this issue Jan 16, 2016 · 4 comments

Comments

@fritx
Copy link

fritx commented Jan 16, 2016

Any method is good to know.
I'm considering using this in production env.

@babakness
Copy link

Suppose a string "foobar" has the encoded string.

  1. Remove the last () from foobar
  2. foobarEval = eval(foobar)
  3. console.log(String(foobarEval))

@aemkei
Copy link
Owner

aemkei commented Jan 16, 2016

@fritx Do NOT use this in production! You should consider this project as educational. It is quite easy to decrypt, as @babakness shows.

@fritx
Copy link
Author

fritx commented Jan 17, 2016

Ah yes! Didn't know that.
Thanks guys.

@FlorianWendelborn
Copy link

I think now would be a good time to close this issue. :)

@aemkei aemkei closed this as completed Feb 8, 2016
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

4 participants