This file is indexed.

/usr/lib/neard/tools/dump-tag is in neard-tools 0.11-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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#! /usr/bin/python

import sys
import dbus

bus = dbus.SystemBus()

def extract_list(list):
	val = "["
	for i in list:
		val += " " + str(i)
	val += " ]"
	
	return val

def extract_record(key, list):
	for i in list:
		record = dbus.Interface(bus.get_object("org.neard", i),
						"org.neard.Record")

		properties = record.GetProperties()
		print "        Record = [ %s ]" % (str(i))

		for key in properties.keys():
			val = str(properties[key])
			print "              %s = %s" % (key, val)

tag = dbus.Interface(bus.get_object("org.neard", sys.argv[1]),
						"org.neard.Tag")

properties = tag.GetProperties()

print "[ %s ]" % (sys.argv[1])

for key in properties.keys():
    if key in ["Type"]:
        val = str(properties[key])
	print "        %s = %s" % (key, val)
    elif key in ["Protocol"]:
	val = str(properties[key])
	print "        %s = %s" % (key, val)

    if key in ["Records"]:
        extract_record(key, properties[key])