Skip to content

Commit 018c07b

Browse files
committed
Catless: minor updates
1 parent 9babd9a commit 018c07b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Catless/create/bootstrap.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
#!/bin/bash
22

33
rm -f \
4-
/bin/less /usr/bin/tail /usr/bin/head /bin/*grep* \
4+
/bin/less /usr/bin/tail* /usr/bin/head /bin/*grep* \
55
/usr/bin/*grep* /etc/alternatives/v* /usr/bin/xxd \
66
/usr/bin/python* /bin/cat /usr/bin/perl* /usr/bin/vi* /bin/more \
77
/bin/sed /usr/bin/*diff* /usr/bin/curl /usr/bin/wget /usr/bin/base64 \
8-
/bin/nc* /bin/netcat /usr/bin/nano /bin/nano
8+
/bin/nc* /bin/netcat /usr/bin/nano /bin/nano /usr/bin/sort \
9+
/usr/bin/awk /bin/echo
910

1011
# /usr/bin/cut?
1112
# /usr/bin/nl?
1213

14+
# Greeting
15+
echo '### Welcome home! ###' > /.box/.greeting
16+
17+
# Update bashrc
18+
echo 'alias echo=/bin/echo' >> /home/box/.bashrc
19+
20+
1321
echo "Noooo, you've managed to read me!
1422
1523
Ok, here's the flag: STCTF#l1nvxH4sN1ceStvff#

0 commit comments

Comments
 (0)