Created
February 22, 2021 05:14
-
-
Save kos0ng/887d2578827bb7a8b984086ebcf28b75 to your computer and use it in GitHub Desktop.
darkCON CTF 2021 - fire in the androiddd ( Helper ) [ RE ]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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