mobile wallpaper 1mobile wallpaper 2mobile wallpaper 3
87 字
1 分鐘
[OverTheWire] Bandit Level 2 → Level 3
2025-01-22

Level Goal#

The password for the next level is stored in a file called spaces in this filename located in the home directory

Commands you may need to solve this level#

  • ls
  • cd
  • cat
  • file
  • du
  • find

My Answer (Step by step)#

  1. 連線到伺服器並登入
ssh bandit2@bandit.labs.overthewire.org -p 2220
  1. 透過 ls 指令會看到 spaces in this filename 檔案
ls
  1. 透過 cat 指令讀取 spaces in this filename 檔案即可看到 Level 3 密碼!
cat "spaces in this filename"
分享

如果這篇文章對你有幫助,歡迎分享給更多人!

[OverTheWire] Bandit Level 2 → Level 3
https://m21248074.github.io/blog/posts/2025-01-22-post143235/
作者
Cavey (凱維)
發布於
2025-01-22
許可協議
CC BY-NC-SA 4.0

部分資訊可能已經過時

目錄