From 501a987afcdca8b5155e1dff6fc2e428b4784e2f Mon Sep 17 00:00:00 2001 From: Luneji <61687883+Luneji@users.noreply.github.com> Date: Mon, 2 Mar 2020 12:19:58 +0100 Subject: Update script.sh --- analyse/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyse/script.sh b/analyse/script.sh index 1d58b9f..0eb3150 100644 --- a/analyse/script.sh +++ b/analyse/script.sh @@ -3,7 +3,7 @@ while : do - sudo tcpdump -i eth1 -nn -c1 -A src 192.168.52.19 -w capture.pcap + sudo tcpdump -i eth1 -nn -c1 -A src $1 -w capture.pcap sudo tcpdump -r capture.pcap > grostas cat grostas | cut -d" " -f1 >> /tmp/heure.txt cat grostas | cut -d" " -f2 >> /tmp/protocole.txt -- cgit v1.2.3