2

I noticed that some web pages include javascript code for bitcoin mining. The code looks scrambled like this :

new Function(atob("dmFyIF8weDg5ZDkgPSBbCiAgImdldEFjY2VwdGVkSGFzaGVzIiwKICAiZ2V0VG9

So my questions are :

1) how JavaScript code is encoded this way and still being understood by the browser ?

2) Is there anyway to de-scramble the code ?

mplungjan
  • 169,008
  • 28
  • 173
  • 236
Maverick
  • 1,105
  • 12
  • 41
  • 1
    The word is _obfuscated_ and it is perfectly understandable by the browser. You need to de-obfuscate it or run it in a sandbox – mplungjan Mar 17 '18 at 12:21

0 Answers0