티스토리 뷰

Goal
The password for the next level is stored in a file called - located in the home directory
다음 레벨의 패스워드는 home 디렉토리에 `-` 파일에 저장되어 있다.
Commands you may need to solve this level
`ls` , `cd` , `cat` , `file` , `du` , `find`
Write Up
`-`: redirection from/to `stdin` or `stdout`
`cat -` 명령어는 키보드 입력을 기다리거나 다른 프로세스에서 전송된 데이터를 기다리게 된다. 파일 이름이 `-`일 때 이를 `cat` 명령어로 읽으려면 해당 파일의 위치를 상대경로, 또는 절대경로로 정확히 지정해야 한다.
cat ./-
'Wargame > Bandit' 카테고리의 다른 글
| Bandit Level 5 → Level 6 (0) | 2024.05.16 |
|---|---|
| Bandit Level 4 → Level 5 (0) | 2024.05.16 |
| Bandit Level 3 → Level 4 (0) | 2024.05.16 |
| Bandit Level 2 → Level 3 (0) | 2024.05.16 |
| Bandit Level 0 → Level 1 (0) | 2024.05.16 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- DP
- oauth2
- Framework
- opengraph
- Transaction
- PS
- JPA
- webgoat
- askers
- WarGame
- linux
- Bandit
- WEB
- sqli
- test
- Spring
- Misc
- React
- SEO
- Dreamhack
- XSS
- CSRF
- Database
- math
- Spring Security
- java
- sql injection
- 회고
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
글 보관함