This file is indexed.

/usr/share/doc/pyro/examples/noNS/client.py is in pyro-examples 1:3.14-1.1.

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
#!/usr/bin/env python

#
#	Client that doesn't use the Name Server. Uses PYROLOC:// URI.
#

import sys
import Pyro.core

Pyro.core.initClient()

objectName = 'QuoteGenerator'
hostname = raw_input('Enter the hostname of the server: ')
port = raw_input('Enter the port of the server, or just enter: ')

print 'Creating proxy for object',objectName,' on ',hostname+':'+port

if port:
	URI='PYROLOC://'+hostname+':'+port+'/'+objectName
else:	
	URI='PYROLOC://'+hostname+'/'+objectName
print 'The URI is',URI

proxy=Pyro.core.getProxyForURI(URI)

print 'Getting some quotes...'
print proxy.quote()
print proxy.quote()