aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuneji <61687883+Luneji@users.noreply.github.com>2020-03-02 12:19:58 +0100
committerGitHub <noreply@github.com>2020-03-02 12:19:58 +0100
commit501a987afcdca8b5155e1dff6fc2e428b4784e2f (patch)
tree989db95dad9b470e61b3c84f1a5d9ac19f69694b
parenta43dc49ffbdb4abccd775766fc20dd53f76f6f28 (diff)
Update script.sh
-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