Bandit(6-10)

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编码。参考https://blog.csdn.net/mosesmo1989/article/details/51093489?biz_id=102&utm_term=linux%20base64%E8%A7%A3%E7%A0%81&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-0-51093489&spm=1018.2118.3001.4187

操作:

base64 -d data.txt

密码:IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值