---
# System prepended metadata

title: 'OverTheWire: Bandit 解題筆記｜Level 2 → Level 3'
tags: [OverTheWire, 資訊安全, Linux]

---

---
title: 'OverTheWire: Bandit 解題筆記｜Level 2 → Level 3'
tags:
- OverTheWire
- Linux
- 資訊安全
---
# Bandit: Level 2 → Level 3

https://overthewire.org/wargames/bandit/bandit3.html

## 登入
```shell
$ ssh -p 2220 bandit2@bandit.labs.overthewire.org
```
密碼：`263JGJPfgU6LtdEvgfWU1XP5yac29mFx`

## 題目
**關卡目標**
下一關的密碼儲存在主目錄中的一個名為 `spaces in this filename` 的檔案中。

**你可能需要用到的指令**
ls, cd, cat, file, du, find

**有用的閱讀資料**
Google 搜尋 “spaces in filename”（檔名中的空格）

## 解題思路

## 詳解
```shell
bandit2@bandit:~$ cat ./'spaces in this filename'
bandit2@bandit:~$ cat ./spaces\ in\ this\ filename
MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx
```

[OverTheWire: Bandit 解題筆記｜Level 4 → Level 4](/ZFwfM0YZQtyp1pe2u5rQ4g)