From 35e083d2d300d754cd3f157f2cc1afffbd8ea7e2 Mon Sep 17 00:00:00 2001 From: Julien CLEMENT Date: Mon, 15 Apr 2024 10:46:52 +0200 Subject: [PATCH] fix typo in archiver Signed-off-by: Julien CLEMENT --- jujure/content/writeups/fcsc_2024/archiver.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/jujure/content/writeups/fcsc_2024/archiver.md b/jujure/content/writeups/fcsc_2024/archiver.md index 4506e81..1a8acd6 100644 --- a/jujure/content/writeups/fcsc_2024/archiver.md +++ b/jujure/content/writeups/fcsc_2024/archiver.md @@ -290,7 +290,7 @@ Remember that I know that filename is `flag.txt`, and that I have an associated ciphertext. With a little bit of luck, the IV of the filename cipher text -is generated with the key: +is generated with the same key: ```console >>> 0x82 ^ ord('f') @@ -299,10 +299,8 @@ is generated with the key: Looks like it does. -Since I have a known plaintext, example cipher text. - -I can simply, xor the plaintext with the filename IV to recover -the xor key. +Since I have a known plaintext and example cipher text, I can simply, xor +the plaintext with the filename IV to recover the xor key. Then apply the same key to the file data IV to recover the plain text: