0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MNCTF2018 盗難情報★★☆

Posted at

問題

image.png

解いてみた

XOR(シングルバイトキー)→ Base64 → ROT13

ということなので、その逆をやれば復号できますよね。
XORのシングルバイトキーはわかりませんが。

とりあえずROT13とbase64

image.png

XORどうしようかなと思ったらXOR Brute Forceとかいうのがあることに気づいた。

image.png

これを使ってみるといろいろなキーでXORやってくれるようです。

image.png

この中からうまく復号できてそうなものを見つける。

01からffまで確認したもののうまく復号できてそうなものが見当たらない。。。
とか思ってるとkey=15のときがPNGになってることに気づく。

image.png

これは画像ファイルなんでしょうか?

image.png

画像ファイルっぽいです。
これをファイルとして保存して中身を見てみます。

image.png

ちゃんと画像として表示されて製品名もしっかり書かれていました。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?