This file is indexed.

/usr/bin/oonireport is in ooniprobe 1.3.2-2.

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

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
#!/usr/bin/python
import sys
import exceptions
from twisted.internet import defer, reactor

from ooni.utils import log
from ooni.report import cli

exitCode = 128

def failed(failure):
    global exitCode

    r = failure.trap(exceptions.SystemExit,
                     Exception)
    if r != exceptions.SystemExit:
        log.err("Failed to run oonireport")
        log.exception(failure)
        exitCode = 127
    else:
        exitCode = failure.value.code
    reactor.stop()


def done(result):
    global exitCode
    exitCode = 0

    reactor.stop()

def start():
    d = defer.maybeDeferred(cli.run)
    d.addCallback(done)
    d.addErrback(failed)

reactor.callWhenRunning(start)
reactor.run()
sys.exit(exitCode)