File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
rm -f \
4
- /bin/less /usr/bin/tail /usr/bin/head /bin/* grep* \
4
+ /bin/less /usr/bin/tail* /usr/bin/head /bin/* grep* \
5
5
/usr/bin/* grep* /etc/alternatives/v* /usr/bin/xxd \
6
6
/usr/bin/python* /bin/cat /usr/bin/perl* /usr/bin/vi* /bin/more \
7
7
/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
9
10
10
11
# /usr/bin/cut?
11
12
# /usr/bin/nl?
12
13
14
+ # Greeting
15
+ echo ' ### Welcome home! ###' > /.box/.greeting
16
+
17
+ # Update bashrc
18
+ echo ' alias echo=/bin/echo' >> /home/box/.bashrc
19
+
20
+
13
21
echo " Noooo, you've managed to read me!
14
22
15
23
Ok, here's the flag: STCTF#l1nvxH4sN1ceStvff#
You can’t perform that action at this time.
0 commit comments