카테고리 없음

Bandit Level 4 → Level 5 풀이

TwoIceFish 2019. 4. 26. 13:19

Level Goal

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

Commands you may need to solve this level

ls, cd, cat, file, du, find


0. bandit4 로그인

pIwrPrtPN36QITSp3EQaw936yaFoFgAB

 

 

1. 파일내용 확인

bandit4@bandit:~/inhere$ file ./-file06
./-file06: data
bandit4@bandit:~/inhere$ file ./-file07
./-file07: ASCII text
bandit4@bandit:~/inhere$ cat ./-file07
koReBOKuIDDepwhWk7jZC0RTdopnAYKh

file 명령어로 파일의 구성 정보를 알 수 있다. file07번에서 사람이 읽을수있는 ASCII text로 해당 내용에서 암호를 얻었다.

 

2. bandit5 암호

koReBOKuIDDepwhWk7jZC0RTdopnAYKh