티스토리 뷰

Goal
The password for the next level is stored somewhere on the server and has all of the following properties:
다음 레벨의 패스워드는 서버 어딘가에 저장되어 있으며 다음과 같은 속성을 모두 만족한다.
owned by user bandit7
owned by group bandit6
33 bytes in size
Commands you may need to solve this level
`ls` , `cd` , `cat` , `file` , `du` , `find` , `grep`
Write Up
`find` 커맨드로 주어진 속성을 모두 만족하는 파일을 `/` 부터 모두 검색하면 권한이나 임시 파일 관련 에러가 함께 출력되므로 파일을 찾기 어렵다. 따라서 `2> /dev/null`로 에러가 있는 값은 리다이렉션 처리한다.
bandit6@bandit:~$ find / -size 33c -user bandit7 -group bandit6 2> /dev/null'Wargame > Bandit' 카테고리의 다른 글
| Bandit Level 8 → Level 9 (0) | 2024.05.16 |
|---|---|
| Bandit Level 7 → Level 8 (0) | 2024.05.16 |
| 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 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- java
- Dreamhack
- opengraph
- 회고
- linux
- math
- webgoat
- askers
- Transaction
- Misc
- Database
- Spring
- DP
- WarGame
- React
- JPA
- PS
- oauth2
- Framework
- test
- sql injection
- Bandit
- CSRF
- Spring Security
- WEB
- XSS
- sqli
- SEO
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함