bigsnitch/test.sh

18 lines
341 B
Bash
Raw Normal View History

2020-08-08 11:44:16 +00:00
#!/bin/sh
2020-08-26 18:58:36 +00:00
mitmdump -k -p 1878 -s mitmaddon/littlesnitch.py &
export mitmpid=$!
2020-08-08 11:44:16 +00:00
./build/littlesnitch &
2020-08-26 18:58:36 +00:00
sleep 5
2020-08-28 23:09:41 +00:00
curl -s -x http://localhost:1878 -k https://yolo.jetzt > /dev/null
2020-08-26 18:58:36 +00:00
sleep 2
2020-08-28 23:09:41 +00:00
curl -s -x http://localhost:1878 -k https://blog.fefe.de > /dev/null
2020-08-08 11:44:16 +00:00
2020-08-13 03:35:22 +00:00
sleep 2
2020-08-26 18:58:36 +00:00
kill -9 $mitmpid
kill -9 $mitmpid
sleep 2
kill -9 $mitmpid
kill -9 $mitmpid