bigsnitch/test.sh

18 lines
341 B
Bash
Raw Normal View History

2020-08-08 11:44:16 +00:00
#!/bin/sh
2021-03-20 21:56:03 +00:00
mitmdump -k -p 1878 -s ./mitmaddon/bigsnitch.py &
2020-08-26 18:58:36 +00:00
export mitmpid=$!
2021-03-20 21:56:03 +00:00
./build/bin/bigsnitch &
2020-08-08 11:44:16 +00:00
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