Update web client example to the current HostSession API

This commit is contained in:
Ole André Vadla Ravnås
2021-07-06 21:10:24 +02:00
parent d4a40b3d74
commit 33ab29cedf
2 changed files with 17199 additions and 1608 deletions
+17198 -1607
View File
File diff suppressed because it is too large Load Diff
@@ -20,7 +20,7 @@ async function start() {
const hostSessionObj = await bus.getProxyObject('re.frida.HostSession15', '/re/frida/HostSession');
const hostSession = hostSessionObj.getInterface('re.frida.HostSession15');
const processes: HostProcessInfo[] = await hostSession.EnumerateProcesses();
const processes: HostProcessInfo[] = await hostSession.EnumerateProcesses({});
console.log('Got processes:', processes);
const gadget = processes.find(([, name]) => name === 'Gadget');