Better HN
topnewbestaskshowjobs
Log inSign up

proc_guts_fan

34 karma · joined Feb 17, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

If anyone needs a "monkey" not for web pages but for any process on your computer system, may I recommend Frida:

https://frida.re

https://github.com/frida/frida

With Frida, you write JavaScript programs and then inject them into arbitrary processes, to hook and modify and call whatever you please.

It gets a lot of use in the reverse engineering and vulnerability research communities, but has broader scope too.

For instance, I used it recently to automate the UI of a video production program on Windows, by sending window messages to the main message loop from an injected thread, and hooking into various system dialog functions to override them.