This file is indexed.

/usr/bin/bluez-test-manager is in bluez 4.101-0ubuntu13.3.

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

from __future__ import absolute_import, print_function, unicode_literals

from gi.repository import GObject

import dbus
import dbus.mainloop.glib

def adapter_added(path):
	print("Adapter with path %s added" % (path))

def adapter_removed(path):
	print("Adapter with path %s removed" % (path))

def default_changed(path):
	print("Default adapter is now at path %s" % (path))

if __name__ == "__main__":
	dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)

	bus = dbus.SystemBus()

	manager = dbus.Interface(bus.get_object('org.bluez', '/'),
							'org.bluez.Manager')

	manager.connect_to_signal("AdapterAdded", adapter_added)

	manager.connect_to_signal("AdapterRemoved", adapter_removed)

	manager.connect_to_signal("DefaultAdapterChanged", default_changed)

	try:
		path = manager.DefaultAdapter()
		default_changed(path)
	except:
		pass

	mainloop = GObject.MainLoop()
	mainloop.run()