Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- XSS GAME
- 개발자
- 사이버보안
- 정보보안
- Over The Wire
- root me
- web-server
- 웹해킹 기초
- 웹해킹
- pythonprogramming
- 프로그래밍
- system hacking
- Bandit
- sql injection bypass
- burp suite
- WebHacking
- webhacking.kr
- 웹개발
- CTF
- hackthissite
- 인공지능
- lord of sqlinjection
- overthewire
- 테크트렌드
- 코딩
- SQL Injection
- write up
- web hacking
- Wargame
- geminipro
Archives
- Today
- Total
컴맹에서 컴공 그리고 화이트 해커가 되는 그날까지
OverTheWire: Bandit Level 2 → Level 3 풀이 본문
반응형
이번 문제의 목표는 공백이 있는 파일 내용을 읽는 것이다.
이렇게 파일 이름을 보면 spaces in this filename이므로
cat spaces in this filename이라고 명령어를 입력하면 오류가 발생한다.
이렇게 공백이 있는 파일을 읽으려면
' 또는 "를 사용하여 파일 이름을 묶어 줘야 읽을 수 있다.
즉 cat 'spaces in this filename' 또는 cat "spaces in this filename"을 입력하면 패스워드를 읽을 수 있다.
여기서 패스워드를 보면 숫자 0과 알파벳 O가 똑같이 생겨서 구분하기 어렵다 그러므로 복붙을 사용해 패스워드를 메모장에 저장해 두고 로그인하는 것이 꿀팁이다.
이것으로 Level 2 → Level 3 클리어!
반응형
'운영체제 > Bandit' 카테고리의 다른 글
OverTheWire: Bandit Level 5 → Level 6 풀이 (0) | 2023.02.04 |
---|---|
OverTheWire: Bandit Level 3 → Level 4 풀이 (1) | 2023.02.04 |
OverTheWire: Bandit Level 1 → Level 2 풀이 (0) | 2023.02.04 |
OverTheWire: Bandit Level 0 → Level 1 풀이 (0) | 2023.02.04 |
OverTheWire 워게임 bandit level 0 풀이 (0) | 2023.02.03 |