어려워진다
lv6#
조건#
- owned by user bandit7
- owned by group bandit6
- 33 bytes in size
지금까지는 find를 이름으로만 찾았는데, 옵션이 너무 많다. -size 33c -user bandit7 -group bandit6 -type f 에서 에러를 없앤다.
ssh [email protected] -p 2220
#P4L4vucdmLnm8I7Vl7jG1ApGSfjYKqJUbandit6@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
# z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99Slv7#
#
The password for the next level is stored in the file data.txt next to the word millionth
grep사용
ssh [email protected] -p 2220
#z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99Scat data.txt | grep millionth
#TESKZC0XvTetK0S9xNwm25STk5iWrBvP