How to decode a JSFuck script?

前端 未结 3 1859
猫巷女王i
猫巷女王i 2020-12-03 17:09

I have this code in JavaScript:

[(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+
(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+
(!![]+[])[+!+[]]]
<         


        
3条回答
  •  温柔的废话
    2020-12-03 17:46

    You can use this website to decode jsfuck: http://codertab.com/jsunfuck

    UPDATED I extracted the decode javascript from the URL above, this is how the decode process work: (javascript)

    s = source.slice(0, source.length - 2); txtResult = eval(s);

    Hope it help!

提交回复
热议问题