This file is indexed.

/usr/lib/neard/tools/start-poll 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
#! /usr/bin/python

import sys
import dbus

if len(sys.argv) < 2:
	print "Usage: %s [nfc device] <polling mode>" % (sys.argv[0])
	sys.exit(1)

if len(sys.argv) < 3:
	mode = "Initiator"
else:
	mode = sys.argv[2]

bus = dbus.SystemBus()

manager = dbus.Interface(bus.get_object("org.neard", "/"),
					"org.neard.Manager")


print "Polling Mode %s" % (mode)

path = "/org/neard/" + sys.argv[1]
adapter = dbus.Interface(bus.get_object("org.neard", path),
					"org.neard.Adapter")

try:
	adapter.StartPollLoop(mode)
except dbus.DBusException, error:
	print "%s: %s" % (error._dbus_error_name, error.message)