From 01f2c1df47bec6affe94429756fc0f2bf3938233 Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 27 Jan 2026 23:03:39 +0100 Subject: [PATCH] feat(lvl09/ressources): adding the hex_to_ascii convertisseur - The way to take the password of flag09 user --- level09/ressources/hex_to_ascii.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 level09/ressources/hex_to_ascii.c diff --git a/level09/ressources/hex_to_ascii.c b/level09/ressources/hex_to_ascii.c new file mode 100644 index 0000000..fccde87 --- /dev/null +++ b/level09/ressources/hex_to_ascii.c @@ -0,0 +1,9 @@ +#include + +int main(void) { + char to_convert[] = {0x66, 0x34, 0x6b, 0x6d, 0x6d, 0x36, 0x70, 0x7c, 0x3d, 0x82, 0x7f, 0x70, 0x82, 0x6e, 0x83, 0x82, 0x44, 0x42, 0x83, 0x44, 0x75, 0x7b, 0x7f, 0x8c, 0x89, 0}; + for (size_t i = 0; to_convert[i]; i++) { + putchar(to_convert[i] - i); + } + putchar('\n'); +}