Bandit6->Bandit7
Level Goal
The password for the next level is stored somewhere on the server and has all of the following properties:
owned by user bandit7
owned by group bandit6
33 bytes in size
知识点:
find命令
操作:
find / -user bandit7 -group bandit6 -size 33c 2>/dev/null
参考:https://www.jianshu.com/p/bf8cc6b0efd1
密码:HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs
Bandit7->Bandit8
Level Goal
The password for the next level is stored in the file data.txt next to the word millionth
知识点:
grep命令
操作:
grep millionth data.txt
密码:cvX2JJa4CFALtqS87jk27qwqGhBM9plV
Bandit8->Bandit9
Level Goal
The password for the next level is stored in the file data.txt and is the only line of text that occurs only once
知识点:
sort命令,uniq命令 参考https://www.runoob.com/linux/linux-comm-uniq.html
操作:
sort data.txt |uniq -c
密码: UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR
Bandit9->Bandit10
Level Goal
The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters.
知识点:
strings命令
操作:
strings data.txt|grep ==
密码:truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk
Bandit10->Bandit11
Level Goal
The password for the next level is stored in the file data.txt, which contains base64 encoded data
知识点:
操作:
base64 -d data.txt
密码:IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR