Wargame/Bandit

Bandit Level 4 → Level 5

startonebyone 2022. 3. 4. 22:59

Level Goal

다음 레벨을 위한 패스워드는 'inhere' 디렉터리 안에 사람이 읽을 수 있는 파일에 저장되어 있다.

팁 : 만약 당신의 터미널이 엉망이라면 'reset' 명령을 사용하세요.

 

Commands you may need to solve this level

ls, cd, cat, file, du, find

Answer

$ ls

$ cd inhere

$ ls

$ file ./*            // file : 현재 폴더에 파일 유형을 확인 시 사용, * : 모든

$ cat ./-file07   // 아스키 문자로 표시된 파일07 내용 확인

 

bandit5 password : koReBOKuIDDepwhWk7jZC0RTdopnAYKh