اليوم بيكون عندنا رايت اب عن تحدي Leaks #AtHack
كان من تحديات الكربتو واصعبهم وواحد من اصعب التحديات في المسابقة
كان من تحديات الكربتو واصعبهم وواحد من اصعب التحديات في المسابقة
step 1 : Factor n using private key exposure attack
since we have 347 bits of private key d : the attack works because n is 1024bits and 347 > 1024/4 = 256
so now we facotred the n into p and q ,
github.com , this script will only work with sage shell
since we have 347 bits of private key d : the attack works because n is 1024bits and 347 > 1024/4 = 256
so now we facotred the n into p and q ,
github.com , this script will only work with sage shell
step3 : get second part of flag
we do the same as part one but to calculate the modular square root we see that q % 8 = 1 so we use tonelli shanks algorithm.
link : rosettacode.org
we do the same as part one but to calculate the modular square root we see that q % 8 = 1 so we use tonelli shanks algorithm.
link : rosettacode.org
والشيء الجميل جدا انه بعد المسابقة تواصل معي اللي كان مسوي تحديات الكربتو يسالني عنها , هو نفس الشخص اللي جلدني في المسابقة 😂😂 لان التحدي كان اي واحد يحله لازم يشرح كيف حله
جاري تحميل الاقتراحات...