[Bandit] Bandit 6 -> 8 풀이 ▶Bandit 6 -> 7 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 bandit 6, 33 bytes in size 라고 조건을 제시해주고 있다. 조건에 맞는 파일을 찾아야 하는데, 핵심은 "Somewhere on the server" . 즉, 더 이상 홈디렉토리에 국한되어서 찾는 문제가 아님을 알 수가 있다. 전 단계와 같이 find를 쓰는데 조건에 / (슬래쉬) 를 넣는다. 즉, 전체 디렉토리를 다 뒤져보는 것이다. 다음과 같이 명령어를 내리면 되지만, 권한이 없는 파일이 대다수라 s.. 2022. 11. 5. 이전 1 다음