Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.05 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.05 KB

XpcScope

Yet another xpc sniffer

dependencies

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

Run

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

screenshot

Trouble Shooting

ModuleNotFoundError: No module named 'xpcscope'

export PYTHONPATH=src