This file is indexed.

/usr/lib/pwrkap/pwrkap_gtk.py is in pwrkap-gui 7.30-5.

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

"""GTK user interface for pwrkap."""
# (C) Copyright IBM Corp. 2008-2009
# Licensed under the GPLv2.

import ui_controller
import gtk
import sys
import ui_data
import thread
import gobject

hosts = []
if len(sys.argv) == 1:
	host = ui_data.pwrkap_host("localhost", 9410)
	hosts.append(host)
else:
	for arg in sys.argv[1:]:
		stuff = arg.split(":")
		hostname = stuff[0]
		if len(stuff) == 1:
			port = 9410
		else:
			port = int(stuff[1])
		host = ui_data.pwrkap_host(hostname, port)
		hosts.append(host)

sys.setcheckinterval(10)
gtk.gdk.threads_init()
uc = ui_controller.ui_controller(hosts)
gtk.gdk.threads_enter()
thread.start_new_thread(uc.connect_hosts, ())
gtk.main()
gtk.gdk.threads_leave()