From d0e959fee10d9e8d04fe05450a57d4348bd31b29 Mon Sep 17 00:00:00 2001 From: Julius de Jeu Date: Fri, 14 Jun 2019 10:54:33 +0200 Subject: [PATCH] Add yeet.js challenge --- docs/easy.md | 3 +-- docs/hard.md | 15 +++++++++++++-- docs/medium.md | 3 +-- mkdocs.yml | 1 + 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/easy.md b/docs/easy.md index 771345a..b169e10 100644 --- a/docs/easy.md +++ b/docs/easy.md @@ -8,5 +8,4 @@ That is what the message your friend sent contained, and this weird picture of a ## Finally -You are not a master yet, but you can get closer [here](/medium) - \ No newline at end of file +You are not a master yet, but you can get closer [here](/medium) \ No newline at end of file diff --git a/docs/hard.md b/docs/hard.md index 02d35be..9e0d2a6 100644 --- a/docs/hard.md +++ b/docs/hard.md @@ -1,6 +1,17 @@ # Hard > These challenges simply don't tell you what to do at all, these are supposed to be hard for first/second year CSE students. +## Yeet1.js +The grand lords of `badcode` Jonathan and Victor have produced another very good example of JS fuckery. `Yeet1.js`! Have fun figuring out how it works! The result is the input for the js file! + +### Some tips +* You can only run the file using node, I've tested it with v10.x, but i think 8.x and 9.x work as well. +* You need to wrap the flag in the flag tags. `flag{input}`, since the flag is just the input, and not a normal flag. +* You can find the challenge [here](https://gist.githubusercontent.com/jonay2000/1bc3348d1a5c974b1a73f9da91749c82/raw/654e93493bb56a9d45df11f208724a96318dff56/yeet1.js)! +* If the flag doesn't work, try the result instead... + + + + ## Finally -Yeah, you are a master now, and I hope you had fun! - J - \ No newline at end of file +Yeah, you are a master now, and I hope you had fun! - J \ No newline at end of file diff --git a/docs/medium.md b/docs/medium.md index 77cce9e..1dca65f 100644 --- a/docs/medium.md +++ b/docs/medium.md @@ -21,5 +21,4 @@ ## Finally -Getting closer to being considered a master, but you'll have to get the rank [here](/hard)! - \ No newline at end of file +Getting closer to being considered a master, but you'll have to get the rank [here](/hard)! \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index ac6a8cb..f47e782 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -21,4 +21,5 @@ site_url: https://challenges.voidcorp.nl markdown_extensions: extra_css: [/extra.css] +extra_javascript: [/js/verify.js] google_analytics: ["UA-97849307-2", "challenges.voidcorp.nl"] \ No newline at end of file