[2l]: Make 2l directory + add flag
This commit is contained in:
13
2l/2l.sh
Executable file
13
2l/2l.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
# Read the contents of the file flag.txt using only 2 letter commands
|
||||
|
||||
while true; do
|
||||
echo -n "$ "
|
||||
read input
|
||||
|
||||
if [ ${#input} -eq 2 ]; then
|
||||
eval "$input"
|
||||
else
|
||||
echo "Command is not 2 characters!"
|
||||
fi
|
||||
done
|
1
2l/flag.txt
Normal file
1
2l/flag.txt
Normal file
@ -0,0 +1 @@
|
||||
3xtr4l3tt3rs
|
Reference in New Issue
Block a user