bash0
pwd # flag in path
# talk about cd, ., .., /
ls # flag in file name
ls -l # flag in owner (permissions)
ls -a # flag in hidden file
cat # regular file, file beginning with -, spaces
# talk about man (tldr)
history # all the commands
bash1
file inhere/* # find the text file in a directory of data files
head inhere/inhere12 # its a big file
bash2
find ~/ -size 1033c # find file of known size in a directory tree
bash3
find ~/ -group 'bash1' -user 'bash0' # find file owned by a specific group
bash4
grep millionth data.txt # find line containing known word
bash5
# talk about pipes and redirection
sort -h data.txt |uniq -u # find unique line (redirection)
bash6
cat data.txt |base64 -d # decode base64 string
bash7
cat data.txt | tr '[N-ZA-Mn-za-m]' '[A-Za-z]' # rot13
bash8
xxd -r data.txt|gunzip # hexdump
bash9
diff password.old password.new # diff files
bash10
ssh -i bash200_rsa_key bash200@localhost # ssh keys
bash11
cat data.txt | nc localhost 30000 # netcat
bash12
cat data.txt | openssl s_client -connect localhost:30001 -ign_eof # ssl netcat
bash13
ssh -i bash200_rsa_key bash200@localhost "cat flag.txt" # ssh tty disabled