Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on New Statistical De-minifier and De-obfuscator for JavaScript.
I took the source of a sample pasted here and ran it through the heiroglyphy generator:
var expect = function(val) { return "string" == typeof val; };
which output something along the lines of (truncated):
[][(![]+[])[!+[]+!![]+!![]]+([]+{})[+!![]]+(!![]+[])[+!![]]+(!![]+[])[+[]]][([]+{})[!+[]+!![]+!![]+!![]+!![]]+([]+{})...
But JSNice was unable to deobfuscate this code. Any ideas why?
I took the source of a sample pasted here and ran it through the heiroglyphy generator:
var expect = function(val) { return "string" == typeof val; };
which output something along the lines of (truncated):
[][(![]+[])[!+[]+!![]+!![]]+([]+{})[+!![]]+(!![]+[])[+!![]]+(!![]+[])[+[]]][([]+{})[!+[]+!![]+!![]+!![]+!![]]+([]+{})...
But JSNice was unable to deobfuscate this code. Any ideas why?