From 5401e3df83a1b96b007fdc41fc9101df6adc57c2 Mon Sep 17 00:00:00 2001 From: Hannes Hauer Date: Mon, 18 Nov 2019 08:50:56 +0000 Subject: [PATCH] Fix formatting in ASIS 2019 writeup --- writeups/hah/asis2019.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/writeups/hah/asis2019.md b/writeups/hah/asis2019.md index 78957e1..071954e 100644 --- a/writeups/hah/asis2019.md +++ b/writeups/hah/asis2019.md @@ -126,11 +126,11 @@ nc 76.74.177.238 7777 This challenge was a python script running on a remote server that consisted of two parts: A proof of work as well as the possibility to modifiy C++-code in a limited way that then was compiled and executed on the server; only if it exited with status 0 the flag was read and printed. -## Proof of work +### Proof of work The proof of work generated a random string of a random length between 10 and 40, hashed it with one randomly selected function out of five and printed the final 6 characters; the task was to find and enter the correct random string. This was easily solvable by parsing the provided information and bruteforcing strings of the appropriate lengths and hash functions. The actual work that had to be proven wasn't massive bcause the strings mainly consisted of zeroes and only a couple of relevant characters at the end; this was pretty straight forward and mainly a speedbump. -## Randomized C++-program +### Randomized C++-program After clearing the proof of work the second part of the program could be accessed: Here a simple C++-function was filled with four randomly generated integers and could be displayed. To get to the flag two of thos values had to be replaced by user input, and only if they then matched a simple formula the information would be displayed. ```c++ -- 2.43.0