aemkei/jsfuck

O site jsfuck.com está desatualizado

Opened this issue · 4 comments

No site jsfuck.com o caractere '[' é representado como '(GLOBAL+"")[0]'
Isso está quebrando no NODEJS.
O estranho é que no site está diferente do GITHUB, pois o GIT está '[': '(Function("return{}")()+"")[0]'
Esse sim não dá erro no NODEJS.
O problema de usar o "return this" no nodejs é que ele não possui esse objeto nativamente, e mesmo utilizando o módulo JSDOM, as versões mais antigas não possuem suporte ao objeto "window.this"

On the site jsfuck.com the character '[' is represented as '(GLOBAL+"")[0]'
This is breaking the nodejs.
The strange thing is that the site is different from GitHub as the GIT is '[' '(Function ("return {}") () + "") [0]'
This rather gives no error in nodejs.
The problem with using the "return this" in nodejs is that it does not have that object natively, and even using the JSDOM module, older versions do not support the object "window.this"

Hmm. It works here with the Node.js tests. What error are you seeing?

O problema ocorre somente na ofuscação criada pelo website www.jsfuck.com porque o arquivo http://www.jsfuck.com/jsfuck.js está desatualizado e diferente do GITHUB.
Ao clicar no botão "Encode" no website, o código criado dentro do TextArea é diferente.
A linha 104 do arquivo http://www.jsfuck.com/jsfuck.js causa erros no NODEJS.
Mas no GIthub está OK.

the version of the site was not up to date with the version from Github