This file is indexed.

/usr/lib/radare/bin/write is in radare-common 1:1.5.2-6.

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
#!/bin/sh
#
TARGET="$1"
OFFSET="$2"
DATA="$3"

[ "${TARGET}" = "-h" ] && DATA=""
if [ -z "${DATA}" ]; then
	echo "Usage: write [file] [offset] '[90 90 90]'"
	exit 1
fi

RESULT=`
echo "
seek $OFFSET
wx $DATA
quit
" | radare -vw "${TARGET}" 
`

if [ -z "${RESULT}" ]; then
echo "failed"
else
echo $RESULT
fi