URL: https://2020.ractf.co.uk/

これは順位が見れないやつだったかな。どっちみち、大した順位じゃありません。。

ractf_Score.png



1個だけWriteup残しておきます。


[Misc]: Reading Between the Lines (300 points)


Challenge

We found a strange file knocking around, but I’ve got no idea who wrote it because the indentation’s an absolute mess!

Attachment:

  • main.c (中身は以下の通りです)
ractf_mainc.png

「This challenge should be a fun one!」というコメントがあって、なんか楽しいやつらしいです。


Solution

Whitespace という esolang です。

References:
https://ja.wikipedia.org/wiki/Whitespace
https://en.wikipedia.org/wiki/Whitespace_(programming_language)
https://esolangs.org/wiki/Whitespace


チャレンジ名は「Reading Between the Lines」ですが、全部の行になんかしら入っているし、厳密には「Between the words」ですね。

とりあえず、目に見える文字をsedを使って消していきます。(ハイフンだけは横着してエディタで消しました。)

ractf_1.png


インタープリターはいろいろあるみたいですが、以下にある内のCで書かれたプログラムを使いました。

https://github.com/hostilefork/whitespacers/

$ ./whitespace RACTF_2020.ws 
ractf{R34d1ngBetw33nChar4ct3r5}


Flag: ractf{R34d1ngBetw33nChar4ct3r5}