반응형
반응형
Bandit Level 5 → Level 6
Level Goal
The password for the next level is stored
in a file somewhere under the inhere directory
and has all of the following properties:
human-readable
1033 bytes in size
not executable
Commands you may need to solve this level
반응형
디렉토리가 너무 많다.
사용해야할 명령어 : find
많은 디렉터리 속에 조건에 맞는 파일을 하나 찾아야 함.
find [경로] [옵션] : 해당 경로에 있는 파일을 옵션에 맞게 검색.
find 명령어를 사용하여 1033 bytes인 파일을 찾기
bandit5@bandit:~/inhere$ find . -size 1033c
./maybehere07/.file2 을 찾음
maybehere07 디렉터리 안에 .file2 라는 파일
bandit5@bandit:~/inhere$ cat ./maybehere07/.file2
반응형
비밀번호 획득~!
반응형
'해킹 > 해킹기초' 카테고리의 다른 글
[Bandit-OverTheWire] Level7 -> Level8 (0) | 2025.02.07 |
---|---|
리눅스 find 명령어 완벽 정리! 초보부터 실무까지 (0) | 2025.02.06 |
[Bandit-OverTheWire] Level3 -> Level4 (0) | 2025.02.06 |
[Bandit-OverTheWire] Level2 -> Level 3 (0) | 2025.02.06 |
SSH 프로그램(PUTTY대신 MobaXterm) (0) | 2025.02.06 |