Wargame/Bandit
Bandit Level 5 → Level 6
startonebyone
2022. 3. 4. 23:11
Level Goal
다음 레벨을 위한 패스워드는 'inhere' 디렉터리 아래 어딘가에 위치해 있다. 그리고 목적 이 파일은 다음의 속성들을 가진다.
human-readable 읽기 가능한
1033 bytes in size 크기 1033 바이트
not executable 실행이 불가능한
Answer
$ ls
$ cd inhere
$ ls -al
$ find . -size 1033c // find : 현재 폴더 아래의 모든 파일 중 1033 byte인 파일을 찾는 명령어(c : byte 단위)
$ cat ./maybehere07/.file2
bandit6 password : DXjZPULLxYr17uwoI01bNLQbtFemEgo7