/usr/lib/radare/bin/sign 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 | #!/bin/sh
if [ -z "$1" ]; then
echo "Usage: rsc sign /usr/lib/libc.a > libc.sign"
exit 1
fi
DIR=`mktemp -d`
trap 'rm -rf $DIR' INT
cd $DIR
ar x $1
for a in *.o ; do
rabin -o d/s/20 $a
done
rm -rf $DIR
|