This file is indexed.

/usr/bin/dtc-xen-client is in dtc-xen 0.5.17-1.

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

import SOAPpy
import sys

url = sys.argv[1] # of the form https://dtc-xen:JDsPassword@dtcxenserver.example.com:8089/
method = sys.argv[2]
params = sys.argv[3:]

server = SOAPpy.SOAPProxy(url)
func = getattr(server,method)
if params: result = func(*params)
else:      result = func()


def print_recursive(r,depth=0):
	prefix = "    " * depth
	if type(r) in (list,SOAPpy.Types.arrayType,SOAPpy.Types.typedArrayType):
		if type(r) == SOAPpy.Types.arrayType: ty = "array"
		elif type(r) == SOAPpy.Types.typedArrayType: ty = "typedArray"
		elif type(r) == list: ty = "list"
		else: assert False
		print prefix + "%s: ["%ty
		for e in r:
			print_recursive(e,depth+1)
		print prefix + "]"
	else:
		print prefix, type(r), repr(r)

print_recursive(result)