OWASP MSTG Crackme 2 writeup (Android)
by Davide Cioccia
The application
βββ owasp
β βββ mstg
β βββ uncrackable2
β βββ R.java
βββ sg
βββ vantagepoint
βββ a
β βββ a.java
β βββ b.java
βββ uncrackable2
βββ CodeCheck.java
βββ MainActivity.java public void verify(View view) {
String str;
String obj = ((EditText) findViewById(R.id.edit_text)).getText().toString();
AlertDialog create = new AlertDialog.Builder(this).create();
if (this.m.a(obj)) {
create.setTitle("Success!");
str = "This is the correct secret.";
} else {
create.setTitle("Nope...");
str = "That's not it. Try again.";
}
create.setMessage(str);
create.setButton(-3, "OK", new DialogInterface.OnClickListener() {
/* class sg.vantagepoint.uncrackable2.MainActivity.AnonymousClass3 */
public void onClick(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
}
});
create.show();
}Who is this.m?
CodeCheck native function
Ghidra


Frida
Root detection control bypass
Exploit


Last updated