droids1
Last updated
Last updated
Find the pass, get the flag. Check out this file. You can also find the file in /problems/droids1_0_b7f94e21c7e45e6604972f9bc3f50e24.
Launch jadx-gui
and open one.apk
In the MainActivity
the button click code can be seen:
The getFlag()
function is as follows:
It checks if the input is R.string.password
, and if it matches then the flag is shown.
Go to R > string > password
in the explorer to find public static final int password = 2131427375;
. It is accessing resource `2131427375.
Go to Resources > resources.arsc > res > values > strings.xml
since the password is probably a string. We find: <string name="password">opossum</string>
Start an AVD in Android Studio. Install the app by dragging the APK to the emulator. Enter the password, opossum
, and click the button to get the flag.
picoCTF{pining.for.the.fjords}