ctfs / ctfs/write-ups-2014

Solve the number APK challenge using Frida.

Open
#388 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
631
PR merge metrics
No merged PRs in 30d

Description

```
Java.perform(function() {

const Verify = Java.use("io.asis.ctf2014.numdriod.Verify");

console.log("\n[*] Starting PIN Brute-force, please wait.");
Java.choose("io.asis.ctf2014.numdriod.MainActivity", {
onMatch: function(instance) {
for (var index = 0; index < 9999999; index++) {
var result = Verify.isOk(instance, ""+index);
if (result) {
console.log("[+] A valid password is: " + index);
return;
}
}
},
onComplete: function() {
console.log("[-] Complete searching for the instance")
}
})

})

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.