Yet another xpc sniffer
Written in python, should support Windows and Linux as well.
- python >=3.10
Here is the setup instructions on macOS.
brew install python3 # requires python >=3.10
python3 -m venv env # initialize virtual environment
source env/bin/activate # active venv shell
pip install -e . # install all dependencies
Build frida agent:
make prepare
# on Windows or systems without make, manually type the following commands from Makefile
#
# frida-compile src\frida\agent\index.ts > src\frida\_agent.js
# pyside6-rcc -o src/xpcscope/res.py assets/resources.qrc
I am too lazy to adapt the cli options from frida, so simply write your attach logic in target.py
in current directory.
An example script is provided in target.example.py
python3 bin/xpcscope target.py
export PYTHONPATH=src