mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Update web client example to the current HostSession API
This commit is contained in:
Generated
+17198
-1607
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');
|
||||
|
||||
Reference in New Issue
Block a user