112 字
1 分鐘
[OverTheWire] Bandit Level 3 → Level 4

Level Goal#

The password for the next level is stored in a hidden file in the inhere directory.

Commands you may need to solve this level#

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

My Answer (Step by step)#

  1. 連線到伺服器並登入
Terminal window
ssh bandit3@bandit.labs.overthewire.org -p 2220
  1. 透過 ls 指令會看到 inhere 資料夾
Terminal window
ls -al
  1. 透過 cd 指令進入 inhere 資料夾,並再次透過 ls 指令查看資料夾內容,可以發現 …Hiding-From-You 檔案
Terminal window
cd inhere
ls -al
  1. 透過 cat 指令讀取 …Hiding-From-You 檔案即可看到 Level 4 密碼!
Terminal window
cat ./...Hiding-From-You

第 4 篇,共 34 篇本文屬於系列

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

分享文章

生成精美分享圖或複製連結,與更多人分享本文。

繼續閱讀

沿著主題讀

基於共同的標籤與分類

換條路線

從其他文章中穩定抽取

最後更新於 ,距今已過 633 天

部分內容可能已過時