Bandit Level 3 → Level 4

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

解密

  1. ssh -p 2220 bandit3@bandit.labs.overthewire.org 密码 UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK
  2. cd ./inhere/ 进入题中说的目录
  3. ls -a 查看当前的隐藏文件,发现.hidden
  4. cat .hidden 得到密码 pIwrPrtPN36QITSp3EQaw936yaFoFgAB

知识点

考察了ls命令的-a参数,用户查看包含隐藏文件的所有当前目录内容