Encode JavaScript

Stable Version 1.0.0 (Compatible with OutSystems 11)
Published on 7 Aug by 
 (0 ratings)

Encode JavaScript

Encode JavaScript code using only six characters: [, ], (, ), !, and +.
Read More

Use this component to encode any JavaScript code using only six characters: [, ], (, ), !, and +. The result is pure and valid JavaScript code which can be run in any web browser or JavaScript engine.

This technique relies on the fact that JavaScript is a weakly typed language and can be used to obfuscate or bypass various filtering systems.

For instance, in JavaScript false is the same as ![] and true can be written as !![]

Using the same approach, alert("a") is the same as alert((![]+[])[+!![]])

You can use the demo component for a quick conversion.

What’s new (1.0.0)
Reviews (0)
Related Components
More from Maxime Baracco