diff options
author | Luneji <61687883+Luneji@users.noreply.github.com> | 2020-03-02 12:19:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 12:19:58 +0100 |
commit | 501a987afcdca8b5155e1dff6fc2e428b4784e2f (patch) | |
tree | 989db95dad9b470e61b3c84f1a5d9ac19f69694b /analyse | |
parent | a43dc49ffbdb4abccd775766fc20dd53f76f6f28 (diff) |
Update script.sh
Diffstat (limited to 'analyse')
-rw-r--r-- | analyse/script.sh | 2 |
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 |