Java.perform(function () {
console.log("--------------start hooking--------------");
function showstack() {
var log = Java.use("android.util.Log");
var Throwable = Java.use("java.lang.Throwable");
console.log(log.getStackTraceString(Throwable.$new()))
}
var toast = Java.use("android.widget.Toast");
toast.show.implementation = function () {
showstack();
console.log("toast.show: ");
return this.show();
}
})
方式一:完全留空,app检查是都编辑框为空
方法二:输入点信息,让app判断