This file is indexed.

/usr/share/radare2/0.9.6/www/enyo/js/script.js is in libradare2-common 0.9.6-3.1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
enyo.kind ({
  name: "Script",
  kind: "Scroller",
  style: "background-color:#c0c0c0",
  clear: function () {
    with (this.$.input) { setContent (value = ''); render() };
  },
  demo: function () {
    with (this.$.input) {
      setContent (value = [
        'r2.disassemble (0, "9090", function(text) {',
        '  show (text)',
        '  show ()',
        '  r2.assemble (0, "mov eax, 33", function (text) {',
        '    show (text);',
        '  });',
        '  show (r2)',
        '});'].join ('\n'));
      render();
    }
  },
  run: function () {
    var code = this.$.input.value;
    var out = "";
/* helper functions */
  function show(x) {
    if (!x) out += "\n"; else
    if (typeof x == 'object') {
      out += "{";
      for (var y in x) {
        var v = x[y]; //(typeof x[y] == 'function')? 'function': x[y];
        out += y+": "+v+"\n , ";
      }
      out += "}";
    } else {
      out += x+"\n";
    }
  }
    try {
      eval (code);
      this.$.output.setContent (out);
    } catch (e) {
      alert (e);
    }
  },
  components: [
    {tag: "p", style:"margin-left:10px", components: [
      {kind: "onyx.Button", content: "Run", classes: "sourcebutton", ontap: "run" },
      {kind: "onyx.Button", content: "Clear", classes: "sourcebutton", ontap: "clear" },
      {kind: "onyx.Button", content: "Demo", classes: "sourcebutton", ontap: "demo" },
    ]},
    {kind: "onyx.TextArea", name: "input", classes: "sourcecode" },
    {tag: "pre", name: "output", style:"margin-left:12px" }
  ]
});