diff --git a/huh/README.md b/huh/README.md new file mode 100644 index 0000000..4d7aaa7 --- /dev/null +++ b/huh/README.md @@ -0,0 +1,14 @@ +# Huh +## Text + + + +(intentionally left empty, DO NOT COPY THIS OVER INTO CTFD) +## Author +Robbe De Greef + +## Files +'huh.ws' + +## How to Deploy +/ diff --git a/huh/SOLUTION.md b/huh/SOLUTION.md new file mode 100644 index 0000000..ae2cddf --- /dev/null +++ b/huh/SOLUTION.md @@ -0,0 +1,13 @@ +## Difficulty +20/100 | EASY + +Whitespace language is pretty well known + +## Category +Reversing + +## How To Solve +Just run the file in a whitespace language interpreter, such as: [this one](https://github.com/Romejanic/Whitespace) + +## Flag +IGCTF{Ha!-I-ain't-seeing-nothing-matter-of-fact-Im-blind-in-my-left-eye-and-43%-blind-in-my-right-eye.} \ No newline at end of file diff --git a/huh/generator.py b/huh/generator.py new file mode 100644 index 0000000..6cb7a09 --- /dev/null +++ b/huh/generator.py @@ -0,0 +1,21 @@ +outfile = "out.ws" + +with open(outfile, "w+") as f: + def write(line): + print(line, file=f) + + # Init + write(" ") + write(" ") + + def write_char(char): + write(" ") + write(" " * ord(char)) + write(" ") + write(" ") + write("") + + flag = "IGCTF{Ha!-I-ain't-seeing-nothing-matter-of-fact-Im-blind-in-my-left-eye-and-43%-blind-in-my-right-eye.}" + for c in flag: + write_char(c) + diff --git a/huh/huh.ws b/huh/huh.ws new file mode 100644 index 0000000..9c4acf1 --- /dev/null +++ b/huh/huh.ws @@ -0,0 +1,517 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +