Last active
September 28, 2023 01:56
-
-
Save myzhan/ab13068463cd7f77b7f06ae561ea853a to your computer and use it in GitHub Desktop.
Frida android make toast
This file contains hidden or 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.scheduleOnMainThread(function() { | |
Toast = Java.use("android.widget.Toast"); | |
var currentApplication = Java.use('android.app.ActivityThread').currentApplication(); | |
var context = currentApplication.getApplicationContext(); | |
Toast.makeText(context,"hello world", Toast.LENGTH_SHORT.value).show(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i know, that is more or less what worked for me