其他分享
首页 > 其他分享> > OverTheWire Level 6 -> Level 7解题过程

OverTheWire Level 6 -> Level 7解题过程

作者:互联网

级别:Bandit Level 6 → Level 7

目标:Level Goal

The password for the next level is stored somewhere on the server and has all of the following properties:

下一级的密码保存在目标服务器的某个地方,并且有3个属性。

允许命令:Commands you may need to solve this level

ls, cd, cat, file, du, find, grep

解题过程:

这里关键是题目提示并没有指出具体在什么目录,因此需要在根目录下查找该文件:

bandit6@bandit:~$ find / -user  bandit7 -group bandit6 -size 33c 2> /dev/null
/var/lib/dpkg/info/bandit7.password
bandit6@bandit:~$ cat /var/lib/dpkg/info/bandit7.password
HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs

 

 

 

标签:bandit6,lib,Level,owned,bandit7,解题,password,OverTheWire
来源: https://www.cnblogs.com/jason-huawen/p/16343769.html