Skip to content

Instantly share code, notes, and snippets.

@kos0ng
Created February 22, 2021 05:14
Show Gist options
  • Save kos0ng/887d2578827bb7a8b984086ebcf28b75 to your computer and use it in GitHub Desktop.
Save kos0ng/887d2578827bb7a8b984086ebcf28b75 to your computer and use it in GitHub Desktop.
darkCON CTF 2021 - fire in the androiddd ( Helper ) [ RE ]
Java.perform(function dump() {
function sleep (time) {
return new Promise((resolve) => setTimeout(resolve, time));
}
var api_key_class = Java.use("com.application.darkcon.data_receiver");
var api_key_instance = api_key_class.$new();
console.log("[+] instance created: " + api_key_instance);
console.log("[+] function called : " + api_key_instance.getData());
sleep(5000).then(() => {
console.log("[+] data value: " + api_key_instance.data.value);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment