I have a js file with no external dependencies. It has two parts, one looking like this:

        b: "IxIjACMBQzM=",
        U: [0],
        G: [0],
        k: [1, 18]
    }, {
        b: "IxFMTgH+EAH/J0sfQyQCIwIvAAFJAC1MTgH+EAH/JztOAcsnIwEeAS8BGTM9IwIz",
        r: 0,
        U: [1],
        G: [1, 2],
        k: [17, 18]
    }, {
        b: "IwE7TgIPEAJDJyMAIwMeAgwg",
        U: [0],
        G: [0],
        k: [1, 3]

And then there are the numerous functions that look like this:

 function(fp) {
      var fq = fp.T.Y();
      var fr = fp.T.Y();
      fp.T.x(fr instanceof fq)
    function gw(gx, gy) {
      "use strict";
      var gz = gr.Z[gx];
      return gA(gz.I, gy, gz.G, gz.k, gz.U, gz.S, gz.r)

When executed, the script creates a real function (let's say hello()) that contains a base64 string. I would like to get to the logic behind hello(), to see how it generates the string, but I have no idea where to start. Any help would be appreciated.

  • I think is is impossible to answer without seeing the full script. – w s Feb 4 at 10:40
  • @ws what about getting the “bytecode” of the already defined function “hello()”. Does such thing exist in the javascript context? – technology Feb 4 at 18:06

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.