Java Madness (Reverse Engineering) – 50

Description

Hey if you can get this to pass some tests you could probably have the flag.

Solution

Time for some source code auditing, From the looks of it, and running the code, the program requires 5 arguments and then prints out those arguments in reverse.

java what_the_hack a b c d e 
edcba

We need to make this variable equal to “abctf is the coolest ctf”. So let’s put it in reverse!

java what_the_hack 'ftc' ' tselooc' ' eht' ' si' ' ftcba'
Flag: ABCTF{ftc tselooc eht si ftcba}

Comments are closed.

WordPress.com.

Up ↑