From 47004b6d5012bc5fb87001c5fb93fae067ab601a Mon Sep 17 00:00:00 2001 From: DavidVentura Date: Wed, 24 Jan 2024 10:22:19 +0100 Subject: [PATCH] add dissector and venv --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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