2021 Cybears CTF
Contents
题目
certs
下载CybearsTest.crt,双击打开证书。在详细信息的颁发者中的CN属性,用base64解密后得到flag
flag
cybears{c3rt_f13ld_0f_dr34mz!}
deebee
nc连接后,实际是一个sqlite的console
这题主要考验sqlite语法,通过sqlite语句求A、B、C三个问题的答案
A:
select year_introduced,count(*) from toys group by year_introduced order by count(*) desc limit 0,1;
B:
select sum(like),name from likes join toys on toys.id =likes.toyid group by toyid order by sum(like) desc limit 0,1;
C:
select name,max(number) from toys order by max(number) desc limit 0,1;
flag
A:1990,B:Direct-Hit,C:Optimus Prime
全部转小写,并去符号空格,最终flag为cybears{1990directhitoptimusprime}
Password Safe
题目说密钥少了两个字节,需要找到密钥对密文解密后得到flag
直接穷举法
|
|
flag
cybears{y0u_sh0uld_r34lly_u53_4_l0ng_p455phr453}
Author Zhe
LastMod 2021-04-09