Hello, (forgotten) world ☂

tkbctf4 [bin300] Cheer of CPU

tkbctf4が終了してからずいぶんと時間が経ちましたが皆様いかがお過ごしでしょうか。今更ではありますが[bin300] Cheer of CPUの解説というか、そんなようなものを書いてみようかと。 なお、問題のソースコードと配布されたバイナリはtkbctfのgithubリポジトリにあるので、そち

CSAW CTF 2014 Quals Forensics

CSAW CTF 2014 Quals、Forensicsのwrite-upです。私が解いたのはForensicsの4問中、200点のObscurityを除いた3問です。 [100] dumpster diving 問題文 dumpsters are cool, but cores are cooler Written by marc firefox.mem.zip 解答 Answer: cd69b4957f06cd818d7bf3d61980e291 与えられるのは’firefox.mem.zip’で、コアダンプです

CSAW CTF 2014 Quals Trivia

CSAW CTF 2014 Qualsに参加してました。日本時間で20日07:00から22日07:00までの48時間。都内某所に泊まり込みでした。そんな感じでWrite-upでございます。この記事はTrivia。 Triviaは全て10点で全6問。うち私が解答したのは3問でした。 Shameless plug 問題文 This is the name of the new

SECCON 2014 オンライン予選 その他諸々

2014-07-19 09:00 - 21:00に行われたSECCON 2014 オンライン予選について、その他諸々。 個別に書いたのは次の2つ。 あみだくじ Print it この2つとここで書かれていないのは問題見てすらいません˙꒳˙ decode me ダウンロードしたencoded.txtを見ると盛大に文字化けしてるんだけど、FRPPBA 2014とい

SECCON 2014 オンライン予選 【Print it!】

2014-07-19 09:00 - 21:00に行われたSECCON 2014 オンライン予選のWrite-upです。次は「Print it!」。 問題概要 謎のファイルが降ってきます。以上。 解法 降ってきたファイルの正体は"Standard Triangulated Language"というフォーマットのファイル(参考: Wikip

SECCON 2014 オンライン予選 【あみだくじ】

2014-07-19 09:00 - 21:00に行われたSECCON 2014 オンライン予選のWrite-upです。今回は「あみだくじ」。 問題概要 問題は64bit ELF形式の実行ファイルamida。これを実行すると「No.i」(i = 1, 2, …)と書かれた行に続けて1から順に番号が振られたあみだくじが表示され

Railsアプリ with Mina and OpenRC

目的とか KONMAIが送る大人気リズムアクションゲーム"REFLEC BEAT groovin’!!“に向けてRefixativeの新バージョンを書いていた。今までは毎回毎回サーバーにsshしてはgit pullしてうんぬんかんぬん、とやっていたので、現代的

Different Behaviors of DownloadString and Uri between .NET and Mono

Note: This is the summary of my posts (they are written in Japanese): tkbctf3 Miocat MonoのWebClientにおけるURI 結局Monoと.NETの挙動の違いはなんだったのか I already reported this as a bug for Xamarin’s Bugzilla. Introduction I found the different behavior of WebClient.DownloadString(String) between Mono and .NET Framework when an invalid URI passed to it. In the Mono’s implementation, it may cause a security issue. This causes by two different behaviors, in new Uri(String), and Path.GetFullPath(String). DownloadString DownloadString(String) and some methods (e.g. DownloadFile(String), OpenRead(String), etc.) calls CreateUri(String), a private method of WebClient. (-> source code on github) CreateUri and GetUri CreateUri(String) tries to make