Hacker News new | ask | show | jobs
by mariusmg 3804 days ago
"JSON based executable file format"

My brain had a core dump when i've read that...

3 comments

If there's one thing JSON excels at, it's encoding executable instructions.
Example of their executable format:

  {
    "$vminit" : {
        "type" : "function",
        "identifier" : "$vminit",
        "nparam" : 0,
        "nlocal" : 0,
        "ntemp" : 0,
        "nup" : 0,
        "args" : false,
        "bytecode" : "14000000300000011400000230000003",
I am unconvinced of the merits of this approach.
kindly check the attached LOVELETTER coming from me.

LOVE-LETTER-FOR-YOU.TXT.json

Considering there's 60 MB ransomware using nw.js these days I guess I shouldn't be surprised.
Nah, don't worry man, nothing troublesome could happen as a result of this!