Information#
Version#
By | Version | Comment |
---|---|---|
noraj | 1.0 | Creation |
CTF#
- Name : ABCTF 2016
- Website : http://abctf.xyz/
- Type : Online
- Format : Jeopardy - Student
- CTF Time : link
Description#
Hey if you can get [this][this] to pass some tests you could probably have the flag. [this]:https://mega.nz/#!DpVk3QII!0q_VFSxC2v0bjwodRIPT2UhJTTK3qvYsDMD7JL3qfPo
Solution#
- Here is the java source code:
- Compile the code:
javac what_the_hack.java
- Run it:
- Analyse the code, there must be 5 strings args:
- By analysing the code we understand that the software display the position of the arg and is content in the reverse order and that the valid check must be
abctf is the coolest ctf
- So write
abctf is the coolest ctf
to reverse it:
ftctseloocehtsiftcba
is the reverse but we need to space it:
- We got it!