blob: 8c82c68bb468d040695a572f42cfcb18330521fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
cd ${TMPDIR:-/tmp}
cp /bin/sh .
ln sh a
PATH=/rbin:/usr/local/rbin
hash -p /bin/rm rm
set -r
hash -p /bin/sh sh
hash -p sh a
a -c 'echo hello'
rm -f sh a
exit 0
|