diff --git a/Makefile b/Makefile index 8c44778..5ddde59 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,16 @@ -.PHONY: run +.PHONY: run install-wireshark-dissector bundle.js: asd.js func_replacements.js ~/node_modules/.bin/frida-compile -o $@ asd.js -run: bundle.js +venv: requirements.txt + python3.11 -m venv venv + ./venv/bin/pip install -r requirements.txt + touch venv + +run: bundle.js venv python3 -u loader3.py + +install-wireshark-dissector: + mkdir -p ~/.local/lib/wireshark/plugins + ln -s $(PWD)/dissector.lua ~/.local/lib/wireshark/plugins/dissector.lua