Points: 200

Tags: crypto 

Poll rating:

file crypto.txt
e: 65537
p: 1553762687409601943499178289783616523235812050573150316009646301542436391128879624646734300008782361965139513359
q: 18393926378291118190346463738382882261613293132387833409
c: 12682879488984861193795141642779903374526316499885184966492486107034525136565770064564244757954564431956497062324291051476829691654157833815737932841382692373398780347

p1=346284627819235013
p2=48108377392359593329
p3=91836381613824658927
p4=37252538404847211828439
p5=27262151738933289423634232512139
-------------------------------------------------------------------------------------------------SOLVE----------------------------------------------------------------------------------------------------------------------------------------------
source code python
import gmpy2
e= 65537
p= 1553762687409601943499178289783616523235812050573150316009646301542436391128879624646734300008782361965139513359
q= 18393926378291118190346463738382882261613293132387833409
c= 12682879488984861193795141642779903374526316499885184966492486107034525136565770064564244757954564431956497062324291051476829691654157833815737932841382692373398780347
p1=346284627819235013
p2=48108377392359593329
p3=91836381613824658927
p4=37252538404847211828439
p5=27262151738933289423634232512139
n = p1*p2*p3*p4*p5*q
fi = (p1-1)*(p2-1)*(p3-1)*(p4-1)*(p5-1)*(q-1)
d=gmpy2.invert(e,fi)
print (hex(pow(c,d,n))[2:]).decode('hex')
------------------------------------------------------------------------------------------------FLAG---------------------------------------------------------------------------------------------------------------------------------------------
WhiteHat{ff94658cf7612e7f68de6d960caf6f9b92e8a4a4}

Writeups

ActionRatingAuthor team
Read writeup
not rated
Hai Lua
You need to authenticate and join a team to post writeups