--- title: 'OverTheWire: Bandit 解題筆記|Level 5 → Level 6' tags: - OverTheWire - Linux - 資訊安全 --- # OverTheWire: Bandit 解題筆記|Level 5 → Level 6 https://overthewire.org/wargames/bandit/bandit6.html ## 登入 ```shell $ ssh -p 2220 bandit5@bandit.labs.overthewire.org ``` 密碼:`4oQYVPkxZOOEOO5pTW81FB8j8lxXGUQw` ## 題目 **關卡目標** 下一關的密碼儲存在 `inhere` 目錄下的一個檔案中,該檔案具有以下所有屬性: - 可讀 - 大小為 1033 位元組 - 不可執行 **你可能需要用到的指令** ls, cd, cat, file, du, find ## 解題思路 ## 詳解 ```shell bandit5@bandit:~$ cd inhere bandit5@bandit:~/inhere$ du -a -b | grep 1033 1033 ./maybehere07/.file2 bandit5@bandit:~/inhere$ cat ./maybehere07/.file2 HWasnPhtq9AVKe0dmk45nxy20cvUa6EG ``` [OverTheWire: Bandit 解題筆記|Level 6 → Level 7](/SJYGaOJEA)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up