mobile wallpaper 1mobile wallpaper 2mobile wallpaper 3
135 字
1 分鐘
[OverTheWire] Bandit Level 13 → Level 14
2025-01-23

Level Goal#

The password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by user bandit14. For this level, you don’t get the next password, but you get a private SSH key that can be used to log into the next level. Note: localhost is a hostname that refers to the machine you are working on

Commands you may need to solve this level#

  • ssh
  • telnet
  • nc
  • openssl
  • s_client
  • nmap

My Answer (Step by step)#

  1. 連線到伺服器並登入
ssh bandit13@bandit.labs.overthewire.org -p 2220
  1. 透過 ls 指令可以看到當前目錄有通往下一個等級的SSH密鑰
ls
# sshkey.private
  1. 透過 ssh 指令連線到 bandit14
ssh bandit14@localhost -p 2220 -i sshkey.private
  1. 透過 cat 指令查看 Level 14 密碼!
cat /etc/bandit_pass/bandit14
分享

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

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

部分資訊可能已經過時

目錄