bigsnitch/test.sh
Tim Blume 3b01e35783 sta
2020-08-29 01:09:41 +02:00

17 lines
341 B
Bash
Executable file

#!/bin/sh
mitmdump -k -p 1878 -s mitmaddon/littlesnitch.py &
export mitmpid=$!
./build/littlesnitch &
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