CyberSecurity/OverTheWire

[OverTheWire Wargames Bandit] Level 5 -> Level 6

보안하는컴과생 2021. 9. 16. 00:22

Goal: inhere 디렉토리 밑 어딘가 다른 디렉토리에 숨겨진 패스워드 획득하기

파일의 속성은 다음과 같다: human-readable, 1033 bytes in size, not executable

find 명령어에서 -type f는 파일을 의미하고 -size 1033c는 1033 bytes를 의미한다.

-size n[cwbkMG]가 가능하다. b는 512 byte blocks을, c가 bytes를 의미한ㄷ.

Username: bandit6

Password: DXjZPULLxYr17uwoI01bNLQbtFemEgo7

참고로 모르는 명령어는 linux man pages에서 보면 더 다양한 옵션을 확인 할 수 있다.

https://man7.org/linux/man-pages/man1/find.1.html