어려워진다
지금까지는 find를 이름으로만 찾았는데, 옵션이 너무 많다.
-size 33c -user bandit7 -group bandit6 -type f
에서 에러를 없앤다.
ssh bandit6@bandit.labs.overthewire.org -p 2220
#P4L4vucdmLnm8I7Vl7jG1ApGSfjYKqJU
bandit6@bandit:~$ find / -size 33c -user bandit7 -type f -group bandit6 2>> /dev/null
#var/lib/dpkg/info/bandit7.password
cat /var/lib/dpkg/info/bandit7.password
# z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S
The password for the next level is stored in the file data.txt next to the word millionth
grep사용
ssh bandit7@bandit.labs.overthewire.org -p 2220
#z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S
cat data.txt | grep millionth
#TESKZC0XvTetK0S9xNwm25STk5iWrBvP