From d0c70ef9b9840370e8cf826c6c970465d38ea2f5 Mon Sep 17 00:00:00 2001 From: B333F Date: Mon, 13 Nov 2023 13:14:04 +0100 Subject: [PATCH] add winter is near --- 2023_codeby_games/winter.txt | 33 +++++++++++++++++++++++++ 2023_codeby_games/writeup.md | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 2023_codeby_games/winter.txt diff --git a/2023_codeby_games/winter.txt b/2023_codeby_games/winter.txt new file mode 100644 index 0000000..599e6ce --- /dev/null +++ b/2023_codeby_games/winter.txt @@ -0,0 +1,33 @@ +We wish you a merry Christmas +We wish you a merry Christmas +We wish you a merry Christmas and a happy new year +Good tidings we bring to you and your kin +We wish you a merry Christmas and a happy new year + +Oh, bring us some figgy pudding +Oh, bring us some figgy pudding +Oh, bring us some figgy pudding +And bring it right here + +Good tidings we bring to you and your kin +We wish you a merry Christmas and a happy new year + +We won't go until we get some +We won't go until we get some +We won't go until we get some +So bring it right here + +Good tidings we bring to you and your kin +We wish you a merry Christmas and a happy new year + +We all like our figgy pudding +We all like our figgy pudding +We all like our figgy pudding +With all its good cheers + +Good tidings we bring to you and your kin +We wish you a merry Christmas and a happy new year + +We wish you a merry Christmas +We wish you a merry Christmas +We wish you a merry Christmas and a happy new year diff --git a/2023_codeby_games/writeup.md b/2023_codeby_games/writeup.md index 4d8d55e..b1b38d4 100644 --- a/2023_codeby_games/writeup.md +++ b/2023_codeby_games/writeup.md @@ -8,6 +8,8 @@ - [Hidden Trace](#hidden-trace) - Web: - [magical admin](#magical-admin) +- Stego: + - [Winter is near](#winter-is-near) - Misc: - [Carousel](#carousel) - [rgb](#rgb) @@ -130,6 +132,52 @@ for ($i = 1; $i <= 9999999999; $i++) { ?> ``` +## winter is near +- given is an simple ascii text file with the lyrics of "we wish you a merry christmas" and a bunch of whitespace in it. +- on first thought I tried executing it as the Whitespace programming language, it writes a bunch of data to the stack but when printing it to stout you just get a bunch of gibberish. +- In retrospect I find out that it must be solved with the snow.exe or stegsnow utility which then after a simple command prints out the flag: +```bash +# uncompress whitespace: +stegsnow -C winter.txt +``` + +``` +We wish you a merry Christmas +We wish you a merry Christmas +We wish you a merry Christmas and a happy new year +Good tidings we bring to you and your kin +We wish you a merry Christmas and a happy new year + +Oh, bring us some figgy pudding +Oh, bring us some figgy pudding +Oh, bring us some figgy pudding +And bring it right here + +Good tidings we bring to you and your kin +We wish you a merry Christmas and a happy new year + +We won't go until we get some +We won't go until we get some +We won't go until we get some +So bring it right here + +Good tidings we bring to you and your kin +We wish you a merry Christmas and a happy new year + +We all like our figgy pudding +We all like our figgy pudding +We all like our figgy pudding +With all its good cheers + +Good tidings we bring to you and your kin +We wish you a merry Christmas and a happy new year + +We wish you a merry Christmas +We wish you a merry Christmas +We wish you a merry Christmas and a happy new year +``` + + ## mathematician - given is an tcp socket (netcat) which provides 50 mathematic equations display behind each other which must be solved in five seconds. - You solve it with an script that puts the input in an equation solving function and sends the result back within five seconds.