プログラム script.py とその入力 nums.txt および出力 out.txt が与えられた。
script.py の内容はNot_Babyのものとほぼ同じで、出力の形式のみが違っていた。
Not_Baby と同様にnの素因数分解を試みると、
約25分後には素因数分解されていない部分は以下の188桁の数1個になっていた。
A program script.py, its input nums.txt and output out.txt were given.
script.py was very similar to that in Not_Baby. The format of output was the only difference.
I tried to factorize n via
「素因数分解 CTF」でググって見つけた-eオプションを使った時、約1時間で素因数分解に成功した。
得られた素因数を用い、以下のプログラムでflagが得られた。
I googled "素因数分解 CTF" and found -e option.
I obtained the flag with this program using the prime factors: