buuctf crypto page 1

MD5

彩虹表网站 https://cmd5.com/
buuctf crypto page 1

一眼就解密

base64编码
buuctf crypto page 1

Url编码

buuctf crypto page 1

看我回旋踢

回旋踢一般是rot系列,rot13成功解密
buuctf crypto page 1

摩丝

莫斯电码http://www.zhongguosou.com/zonghe/moersicodeconverter.aspx
buuctf crypto page 1

password

根据信息猜测flag
buuctf crypto page 1

变异凯撒

a = 'afZ_r9VYfScOeO_UL^RWUc'
n = 5
for i in a:
    print(chr(ord(i) + n),end='')
    n+=1
#flag{Caesar_variation}

Quoted-printable

Quoted-printable解密网站http://web.chacuo.net/charsetquotedprintable
buuctf crypto page 1

Rabbit

rabbit解密网站http://www.jsons.cn/rabbitencrypt/
buuctf crypto page 1

篱笆墙的影子

buuctf crypto page 1

RSA

给p q e 求dbuuctf crypto page 1

p=473398607161
q=4511491
e=17
import gmpy2
import libnum
n = p*q
phi_n = (p-1)*(q-1)
d = gmpy2.invert(e,phi_n)
print(d)

丢失的MD5

使用python2运行这段脚本出的就是flag
buuctf crypto page 1

Alice与Bob

factor分解,根据题目要求小的放前面,大的放后面,合成一个新的数字,进行md5的32位小写哈希
buuctf crypto page 1
buuctf crypto page 1

rsarsa

m不能转换为字符所以flag就直接提交m的值就行

p =  9648423029010515676590551740010426534945737639235739800643989352039852507298491399561035009163427050370107570733633350911691280297777160200625281665378483
q =  11874843837980297032092405848653656852760910154543380907650040190704283358909208578251063047732443992230647903887510065547947313543299303261986053486569407
e =  65537
c =  83208298995174604174773590298203639360540024871256126892889661345742403314929861939100492666605647316646576486526217457006376842280869728581726746401583705899941768214138742259689334840735633553053887641847651173776251820293087212885670180367406807406765923638973161375817392737747832762751690104423869019034
import gmpy2
n = p*q
phi_n = (p-1)*(q-1)
d = gmpy2.invert(e,phi_n)
m = pow(c,d,n)
print(m)

大帝的密码武器

打开文件发现头部pk修改后缀为zip
buuctf crypto page 1
buuctf crypto page 1
buuctf crypto page 1

Windows系统密码

使用cmd5查询ctf用户的md5密码buuctf crypto page 1

信息化时代的步伐

中文电码http://code.mcdvisa.com/
buuctf crypto page 1

传统知识+古典密码

根据60甲子年表后得到的转为ascii码得到密文XZSDMFLZ
buuctf crypto page 1
对两个解密结果分别做凯撒解密,发现第二栏做凯撒的5位是有意义字符
buuctf crypto page 1

上一篇:Spring5源码解析系列二——Web IoC初体验


下一篇:如此优秀,这18个 Python 高效编程技巧真的太香了