bigsnitch/test.sh
Tim Blume 600d7146d3 foo
2021-03-20 22:56:03 +01:00

17 lines
341 B
Bash
Executable file

#!/bin/sh
mitmdump -k -p 1878 -s ./mitmaddon/bigsnitch.py &
export mitmpid=$!
./build/bin/bigsnitch &
sleep 5
curl -s -x http://localhost:1878 -k https://yolo.jetzt > /dev/null
sleep 2
curl -s -x http://localhost:1878 -k https://blog.fefe.de > /dev/null
sleep 2
kill -9 $mitmpid
kill -9 $mitmpid
sleep 2
kill -9 $mitmpid
kill -9 $mitmpid