ctfshow刷题记录2

crypto12

题目:uozt{Zgyzhv_xlwv_uiln_xguhsld}

 Atbash密码属于简单替换密码的特例

解密得flag{atbase_code_from_ctfshow}提交不对,首字母改大写,因为题目中首字母为大写

flag{Atbase_code_from_ctfshow} 提交正确

crypto13

题目附件名为base家族

字符太多了,复制不过来,在线解密也不太行,需要运用python

 这题是需要有一定的python编码能力的,目前我还不够格,只能复制大佬的代码

import base64
with open('base.txt') as f:
    text = f.read ()
while (1):
    try:
        text =base64.b64decode(text).decode()
    except Exception as e:#except Exception as e:
        try:
            text =base64.b32decode(text).decode()
        except Exception as e:
            try:
                text =base64.b16decode(text).decode()
            except Exception as e:
                break
print(text)

运行得到flag{b4Se_Fami1y_Is_FUn}

crypto14 

题目:

你可能感兴趣的:(ctfshow刷题记录,算法)