-
[WarGame] Bandit, Level 5 → Level 6워게임 2023. 3. 19. 19:28
[WarGame] Bandit, Level 5 → Level 6
Problem
inhere 디렉토리 내부의, human-readable이며, 1033 바이트이고, 실행 불가능한 파일을 찾으면 된다.Solving
bandit5@bandit:~/inhere$ find --help # ... find 명령어의 옵션 조회 ... bandit5@bandit:~/inhere$ find ./maybehere*/* -size 1033c -readable ! -executable # 안되서 아래처럼 입력 bandit5@bandit:~/inhere$ find ./* -size 1033c -readable ! -executable # GOOD ./maybehere07/.file2 bandit5@bandit:~/inhere$ cat ./maybehere07/.file2 # 정답
Refer
반응형'워게임' 카테고리의 다른 글
[WarGame] Bandit, Level 7 → Level 8 (0) 2023.03.19 [WarGame] Bandit, Level 6 → Level 7 (0) 2023.03.19 [WarGame] Bandit, Level 4 → Level 5 (0) 2023.03.19 [WarGame] Bandit, Level 3 → Level 4 (0) 2023.03.19