ファイル flag1000.zip と pass.txt が与えられた。
flag1000.zip には flag999.zip と pass.txt が入っており、
与えられた pass.txt に書かれたパスワードで暗号化されていた。
999~1まで同様の構造が続いていると予想し、以下のプログラムを用意した。
Files flag1000.zip and pass.txt were gien.
The file flag1000.zip contained flag999.zip and pass.txt,
and they are encrypted using the password in the given file pass.txt.
I guessed that there will be the same structure from 999 to 1, and created this program:
新しいディレクトリ work を用意してそこに与えられたファイル flag1000.zip と pass.txt を配置し、
このディレクトリをカレントディレクトリとして doit.pl を実行した。
その結果、flagが書かれたファイル flag.txt が得られた。
I created a new directory work and put the given files flag1000.zip and pass.txt there.
After that, I executed doit.pl using the directory as the working directory.
As a result, a file flag.txt in which the flag was written appeared.