Writeups
Search
⌃
K
Writeups
2020 Writeups
Angstrom
bsidesBOS
Crypto CTF
Covid19 CTF
FWordCTF
Google
Hacktivity Con
Houseplant
HSCTF
NahamConCTF
pwn
Misc
Web
Osint
Crypto
Homecooked
raspberry
docxor
Twinning
Scripting
poggers
Plaid
RACTF
Redpwn CTF
rgbCTF
Sharky
TJCTF
Tokyo Westerns CTF
Zh3r0 CTF
2021 Writeups
Powered By
GitBook
Comment on page
Twinning
easy RSA
factor the numbers
>>>
from
Crypto
.
Util
.
number
import
*
>>>
phi
=
(
2256911
-
1
)
*
(
2256913
-
1
)
>>>
n
=
5093651775743
>>>
e
=
65537
>>>
d
=
inverse
(
e
,
phi
)
>>>
ct
=
3084160692905
>>>
pow
(
ct
,
d
,
n
)
6444
>>>
flag{thats_the_twinning_pin_to_win}
Previous
docxor
Next
Scripting
Last modified
3yr ago