who can help me
牛魔的,HvAng和Chimedal根本靠不住,HvAng还说手把手教,结果折腾了几天劳资友链还是半成品,试了好久还没搞好,我打算去真实他们此外,如果有人会弄请一定教教我(cry)
小嘟嘟的长城杯CTF
赛前忙着复习(真bushi),已经好几天没看crtpto了,进到nc之前还有点心虚。当我看到HvAng和Chimedal两个人一脸奸笑的时候就知道今天注定是非常逆天的了。 比赛开始了,留给小嘟嘟的时间不多了进到题目里面一看,第一道不会,第二道还好,别的队陆陆续续开始有血了之后也是着手去做了。题目代码如下:123456789101112131415161718192021222324252627282930313233343536373839404142from Crypto.Util.number import getPrime, bytes_to_longfrom random import randintimport osFLAG = os.getenv("FLAG").encode()flag1 = FLAG[:15]flag2 = FLAG[15:]def crypto1(): p = getPrime(1024) q = getPrime(1024) n = p * q e = 0x10001 ...
太baby了
HvAng真的太baby了昨天被一道模运算的crypto困住了,搞完感觉很简单,但是HvAng太baby了,因为他给我推了一道baby_hint,我搞了好久,你知道这对一个新手伤害多大吗?话不多说,直接展示题目123456789101112131415161718192021import gmpy2import libnumimport uuidfrom secret import flagm=libnum.s2n(flag)p=libnum.generate_prime(512)q=libnum.generate_prime(512)e=65537n=p*qhint1=pow(2023*p+2022*q,1919,n)hint2=pow(2022*p+2023*q,9191,n)c=pow(m,e,n)print("hint1=",hint1)print("hint2=",hint2)print("n=",n)print("c=",c)'''hint1=...
BlogBirth
Look Downflagflag{N0w_y0v_h4u3_s3en_y0vr_f4th3r’5_b109} What I mean is that when you come into contact with CTF or Sloth,you life is just that shit.Or you will not understand what I said above.