To anyone trying to use this, a word of advice to save you a lot of time: it won't work with the latest versions of Frida.
I haven't tried all the versions to see exactly where the cutoff is, but as an example, if you download frida-server-12.11.10 on the host machine, and pip install frida-tools==8.1.3 (the corresponding version of frida-tools), it seems to work, whereas using the latest versions consistently gives me a frida.InvalidOperationError: script has been destroyed error as soon as it the hooked function is called.
To anyone trying to use this, a word of advice to save you a lot of time: it won't work with the latest versions of Frida.
I haven't tried all the versions to see exactly where the cutoff is, but as an example, if you download
frida-server-12.11.10
on the host machine, andpip install frida-tools==8.1.3
(the corresponding version of frida-tools), it seems to work, whereas using the latest versions consistently gives me afrida.InvalidOperationError: script has been destroyed
error as soon as it the hooked function is called.