Bandit Level 4 → Level 5

장일영·2024년 5월 10일

Bandit

목록 보기
5/33

Level

Goal

The password for the next level is stored in the only human-readable file in the inhere directory. Tip: if your terminal is messed up, try the “reset” command.

다음 레벨의 패스워드는 inhere 디렉토리 내의 only human-readable 파일에 저장되어 있다. 팁: 터미널이 엉망이 되면 reset 커맨드를 이용해라.

Commands you may need to solve this level

ls , cd , cat , file , du , find

Exploit

bandit4@bandit:~/inhere$ file ./*
./-file00: data
./-file01: data
./-file02: data
./-file03: data
./-file04: data
./-file05: data
./-file06: data
./-file07: ASCII text
./-file08: data
./-file09: data

file 명령어로 해당 파일의 유형을 확인할 수 있다. file07 파일만 ASCII text 파일이고 나머지는 data 형태의 파일이다.

0개의 댓글