add SendUsrChk and test it

This commit is contained in:
DavidVentura
2024-01-25 10:09:41 +01:00
parent 723384b89a
commit 957a4b5cab
4 changed files with 29 additions and 4 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
.PHONY: run install-wireshark-dissector
.PHONY: run install-wireshark-dissector test
bundle.js: asd.js func_replacements.js
~/node_modules/.bin/frida-compile -o $@ asd.js
@@ -11,6 +11,12 @@ venv: requirements.txt
run: bundle.js venv
./venv/bin/python3 -u loader3.py
node_modules:
npm install
test: node_modules
./node_modules/.bin/mocha --require ts-node/register tests/fn.test.js
install-wireshark-dissector:
mkdir -p ~/.local/lib/wireshark/plugins
ln -s $(PWD)/dissector.lua ~/.local/lib/wireshark/plugins/dissector.lua