CTF_Site/docs/hard.md

17 lines
1,011 B
Markdown
Raw Permalink Normal View History

2019-06-13 16:01:22 +02:00
# 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.
2019-06-14 10:54:33 +02:00
## 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>
2019-06-13 16:01:22 +02:00
## Finally
2019-06-14 10:54:33 +02:00
Yeah, you are a master now, and I hope you had fun! - J