Merge branch 'yeet1.js' into 'master'

Add yeet.js challenge

See merge request jdejeu/ctf-site!3
This commit is contained in:
Julius de Jeu 2019-06-14 08:57:04 +00:00
commit f91a599a54
4 changed files with 16 additions and 6 deletions

View file

@ -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)
<script src="/js/verify.js"></script>
You are not a master yet, but you can get closer [here](/medium)

View file

@ -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...
<input id="yeet1Flag" placeholder="flag{xxx}" autocomplete="off" maxlength=40><button onClick="check('yeet1', 'yeet1Flag')">Check!</button>
## Finally
Yeah, you are a master now, and I hope you had fun! - J
<script src="/js/verify.js"></script>
Yeah, you are a master now, and I hope you had fun! - J

View file

@ -21,5 +21,4 @@
## Finally
Getting closer to being considered a master, but you'll have to get the rank [here](/hard)!
<script src="/js/verify.js"></script>
Getting closer to being considered a master, but you'll have to get the rank [here](/hard)!

View file

@ -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"]