19 lines
750 B
JavaScript
19 lines
750 B
JavaScript
// open_voice.js — One-shot: open voice chat fragment then exit
|
|
// Usage: frida -U -p PID -l open_voice.js --no-pause
|
|
Java.perform(function() {
|
|
Java.scheduleOnMainThread(function() {
|
|
try {
|
|
Java.choose("com.antgroup.aijk.android.ijklauncher.biz.activity.IJKActivity", {
|
|
onMatch: function(a) {
|
|
var fm = a.getSupportFragmentManager();
|
|
var f = Java.use("com.antgroup.aijk.android.ijkchat.biz.voicechat.IjkVoiceChatFragment").$new();
|
|
f.show(fm, "v");
|
|
console.log("[OK] Voice chat opened");
|
|
}, onComplete: function() {}
|
|
});
|
|
} catch(e) {
|
|
console.log("[ERR] " + e);
|
|
}
|
|
});
|
|
});
|