-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I've been attempting to use the Python bindings to use RemoteInput. When I close the injected process window, the process remains until I kill it via Task Manager. The only way I've found around this is to use kill_client to actually end the injected process, but this isn't ideal. I would expect that when I close a window, the process ends, regardless of whether RemoteInput has been injected.
Simba doesn't seem to have this issue and I've attempted multiple modifications to the Python bindings to address this. SimbaPlugin has an OnDetach() function that will call EIOS_KillZombieProcesses. I added similar code to the Python plugin, but it didn't resolve the issue. I've also tried adding Python bindings for EIOS_ReleaseClient and EIOS_ReleaseTarget, which didn't help.
Any help would be appreciated. This could absolutely be a lack of knowledge on my part rather than a code issue.
I expect to be able to do something like:
remote_input.EIOS.inject("java.exe")
client_pids = remote_input.EIOS.get_clients_pids(True)
pid = client_pids[0]
eios_client = remote_input.EIOS.pair_client_pid(pid)
// Do automation
// Some code to clean up or "uninject"