Brain Bleeding JavaScript Obfuscation
blog.korelogic.com
blog.korelogic.com
Online closure compiler: http://closure-compiler.appspot.com
For jjEncode's sample `alert("Hello, JavaScript" )`[0], the first step of the post's analysis is done for you[1], if you set closure compiler on "advanced mode".
That being said, double-jjEncoding the sample `alert("Hello, JavaScript" )` stumps the closure compiler.
[0] http://utf-8.jp/public/jjencode.html?src=alert(%22Hello%2C%2... [1] https://closure-compiler.appspot.com/code/jsc40b41f282d17ff7...
https://blog.korelogic.com/2015/01/12/javascript_deobfuscati... (pass: infected)
https://gist.github.com/nafai/32f656a3338dcc792545 https://gist.github.com/nafai/c41de60168b12f8614de
!~!~1234.5678["constructor"]["constructor"](console.log("foo"))
Of course that logs "foo" - why wouldn't it?! undefined(console.log('foo'))
TypeError: undefined is not a function
"foo"Edit: I was right, it is not a popular opinion and therefore not a valuable one. Let the downvotes rain.