aboutsummaryrefslogtreecommitdiff
path: root/analyse
diff options
context:
space:
mode:
Diffstat (limited to 'analyse')
-rw-r--r--analyse/script.sh2
1 files changed, 1 insertions, 1 deletions
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