Click Me
This was a "clicker" mobile application. The goal was to get more than 99999999 clicks.
After decompiling the APK, we could see the following relevant part of the source code.
We could find the instruction where the CLICKS
is compared with 99999999, patch it, and recompile the APK. Looking at the Smali code, we see the following portion that corresponds to the check in getFlagButtonClick
.
In a nutshell, if the current number of clicks is not equal to 0x5f5e0ff (99999999), the code jumps over the getFlag()
call to the cond_0
label somewhere below.
All we have to do is to change this instruction to
and recompile the APK. Now the check is bypassed!
Last updated