#문제
https://overthewire.org/wargames/bandit/bandit5.html
OverTheWire: Level Goal
We're hackers, and we are good-looking. We are the 1%. <!-- Please read and accept the Rules! --> 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 “r
overthewire.org
#풀이
cd inhere으로 inhere 디렉토리로 이동한 이후
find로 디렉토리에 있는 파일을 확인하면...
여러개 많은데 이중에서 사람이 읽을 수 있는 파일을 찾기 위해서!
./*: 현재경로 모든 파일
|: 연결
grep "text":text문자 가지고 있는 파일 찾기
를 해서 ./*| grep "text"로 file07이 읽을 수 있는 파일이라는 것을 알게 되었다.
-------------------
<사용한 명령어>
./*: 현재경로 모든 파일
|: 연결
grep "text":text문자 가지고 있는 파일 찾기
'보안 > Bandit' 카테고리의 다른 글
[OverTheWire: Bandit] Level3->Level4 (0) | 2024.05.03 |
---|---|
[OverTheWire: Bandit] Level2->Level3 (0) | 2024.05.03 |
[OverTheWire: Bandit] level1 -> level2 (0) | 2024.05.03 |
[OverTheWire: Bandit] bandit 환경구축 (0) | 2024.05.03 |
[OverTheWire: Bandit] -Level0 ->Level 1 (0) | 2024.05.02 |