OverTheWire/Bandit
Bandit3
hanhxx
2022. 12. 17. 11:08
Overthewire - Bandit level 3
Connection : bandit3@bandit.labs.overthewire.org -p 2220
username : bandit3
Bandit level3) 다음 level의 passwd가 inhere이라는 폴더 안에 있는 hidden 파일에 저장되어있다고 한다.
kali linux - Terminal
inhere 폴더로 들어가 보니, .hidden이라는 파일이 있는 걸 볼 수 있다.
.hidden 파일 내용은 level4의 passwd!
COMMAND)
cd "folder_name" //이 폴더로 들어가라.
ls -al //숨기는 거 없이 파일(+폴더..) 다 출력해!
.hidden 파일은 ls command로는 출력되지 않았지만,
inhere 폴더 안에 있다는 정보를 알고 있었기에 -al 옵션으로 헤매지 않고 찾을 수 있었다.