This file is indexed.

/usr/share/pyshared/jsonrpc2/cmd.py is in python-jsonrpc2 0.3.2-4.

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
#
import sys
from jsonrpc2 import JsonRpcApplication
from wsgiref.simple_server import make_server

def main(host='', port=8080):
    """
    """
    app = JsonRpcApplication()

    for m in sys.argv[1:]:
        __import__(m)
        mod = sys.modules[m]
        app.rpc.add_module(mod)
    print 'runserver %s:%d' % (host, port)
    httpd = make_server(host, port, app)
    httpd.serve_forever()

if __name__ == '__main__':
    main()