記録は作業の証

鉄道とコンピュータ

2022-02-06から1日間の記事一覧

TRPL読書記 1

はじめに 知り合いが「これからはRustを知らないとまずいぞ」というので、重い腰をあげてRustを勉強することにした。 まずはTRPLから読んでみることにし、とりあえず第三章まで読んだので練習問題の自分の解答をここに掲載してみる。 書いたコード 温度を華…

picoCTF Write-up ARMssembly 0

問題文 https://play.picoctf.org/practice/challenge/160 What integer does this program print with arguments 4134207980 and 950176538? File: chall.S Flag format: picoCTF{XXXXXXXX} -> (hex, lowercase, no 0x, and 32 bits. ex. 5614267 would be …

picoCTF Write-up keygenme-py

問題文 https://play.picoctf.org/practice/challenge/121 keygenme-trial.py 考えたこと Pythonスクリプトを読み解くことで解くようだ。読み解くことで次のことがわかる。 フラグに関連する文字列が格納された変数群がある。 key_part_static1_trial key_pa…

picoCTF Write-up caesar

問題文 https://play.picoctf.org/practice/challenge/64 Decrypt this message. 考えたこと ヒントにはシーザー暗号のことが書かれていたので、これで復号すればよさそう。 問題は鍵がわからないことである。アルファベットだけで26通り試す必要がある。 Cy…

picoCTF Write-up Easy1

問題文 The one time pad can be cryptographically secure, but not when you know the key. Can you solve this? We've given you the encrypted flag, key, and a table to help UFJKXQZQUNB with the key of SOLVECRYPTO. Can you use this table to sol…

picoCTF Write-up The Numbers

問題文 https://play.picoctf.org/practice/challenge/68 The numbers... what do they mean? 考えたこと リンクはPNG画像を指している。画像ビューアで開くと、数列が書かれている。 {や}があることから、フラグそのものの可能性がある。 色々考えたすえ、A…

picoCTF Write-up Transformation

問題文 https://play.picoctf.org/practice/challenge/104 I wonder what this really is... enc ''.join([chr((ord(flag[i]) << 8) + ord(flag[i + 1])) for i in range(0, len(flag), 2)]) 考えたこと encというファイルには、文字化けする謎のバイナリデ…