mobile wallpaper 1mobile wallpaper 2mobile wallpaper 3
109 字
1 分鐘
[OverTheWire] Bandit Level 17 → Level 18
2025-01-24

Level Goal#

There are 2 files in the homedirectory: passwords.old and passwords.new. The password for the next level is in passwords.new and is the only line that has been changed between passwords.old and passwords.new

NOTE: if you have solved this level and see ‘Byebye!’ when trying to log into bandit18, this is related to the next level, bandit19

Commands you may need to solve this level#

  • cat
  • grep
  • ls
  • diff

My Answer (Step by step)#

  1. 連線到伺服器並登入
ssh bandit17@bandit.labs.overthewire.org -p 2220
  1. 透過 diff 指令比對新舊密碼的差異,即可找到 Level 18 密碼!
diff passwords.new passwords.old
# 42c42
# < x2gLTTjFwMOhQ8oWNbMN362QKxfRqGlO
# ---
# > ktfgBvpMzWKR5ENj26IbLGSblgUG9CzB
分享

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

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

部分資訊可能已經過時

目錄