
The password for the next level is stored somewhere on the server and has all of the following properties:
owned by user bandit7
owned by group bandit6
33 bytes in size
다음 레벨의 패스워드는 서버 어딘가에 저장되어 있으며 다음과 같은 속성을 모두 만족한다.
bandit7 유저 소유의 파일
bandit6 그룹 소유의 파일
33 bytes 사이즈
ls , cd , cat , file , du , find , grep
find 커맨드로 주어진 속성을 모두 만족하는 파일을 / 부터 모두 검색하면 권한이나 임시 파일 관련 에러가 함께 출력되므로 파일을 찾기 어렵다. 따라서 2> /dev/null로 에러가 있는 값은 리다이렉션 처리한다.
bandit6@bandit:~$ find / -size 33c -user bandit7 -group bandit6 2> /dev/null