mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
Update web client example to the current HostSession API
This commit is contained in:
1 parent
d4a40b3d74
commit
33ab29cedf
2 files changed
+17199
-1608
No files matched your search
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