Level 5 → Level 6

使用上一关密码ssh连接
ssh -p 2220 bandit5@bandit.labs.overthewire.org
image
首先使用ls -al 发现inhere文件,cd进去后使用ls -al发现许多文件夹
image
使用find查找
find . -type f -size 1033c ! -perm /111
'-size 1033c'是文件大小为1033字节,'! -perm /111'是没有执行权限的文件
image
cat 该文件获得密码
image

posted @ 2025-12-18 22:03  大雪深埋  阅读(1)  评论(0)    收藏  举报