aboutsummaryrefslogtreecommitdiffstats
path: root/analyse/script.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xanalyse/script.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/analyse/script.sh b/analyse/script.sh
index 783035d..82b1943 100755
--- a/analyse/script.sh
+++ b/analyse/script.sh
@@ -2,14 +2,6 @@
# coding: utf-8
#TO-DO:
-#prend en compte l'interface internet par defaut sur la machine
-#recupere l'adresse IP lie a cette interface
-#installe tcpdump avant toute chose
-#corrige le deplacement du cut dans certaines trames (comme ARP)
-#Affiche quelque chose d'autre que "IP" en protocole (probleme pour la plupart des paquets
-#enleve ce qu'il y a apres la virgule pour les secondes
-#ajoute la date
-#insert dans la bdd les differentes infos
#sudo tcpdump -i wlp2s0 -c1 -v -w temp.pcap
#b=$(sudo tcpdump -r temp.pcap > tempcat)
@@ -57,7 +49,7 @@ do
# Attention ici c'est UDP
- sudo tcpdump -i wlp2s0 -c1 -nn udp -w captureudp.pcap
+ sudo tcpdump -i $Interface -c1 -nn udp -w captureudp.pcap
sudo tcpdump -nn -r captureudp.pcap > grostasudp
echo -e "Voici un paquet UDP\n"
cat grostasudp | cut -d" " -f1 >> /tmp/heureudp.txt
a46c46b5050efbe8846307af7ff90c1856fc&follow=1'>Update README.mdv3.2.1Clyhtsuriva1-1/+1 2021-05-19Update README.mdClyhtsuriva1-3/+3 2021-05-19Update README.mdClyhtsuriva1-1/+1 2021-05-19Update README.mdClyhtsuriva1-8/+10 2021-05-19Update README.mdClyhtsuriva1-1/+2 2021-05-19Update README.mdClyhtsuriva1-8/+7 2021-05-19Update README.mdrelease/3.2.1Clyhtsuriva1-6/+21 2021-05-19Big updaterelease/3.2Clyhtsuriva55-235/+193 2021-05-19Update README.mdClyhtsuriva1-1/+5 2021-05-14Update README.mdClyhtsuriva1-1/+3 2021-05-14Update README.mdClyhtsuriva1-0/+23 2021-05-14Update README.md and adding logo onto the main screenrelease/3.1Clyhtsuriva2-10/+13 2021-05-14Singletons on all pages : OKClyhtsuriva6-125/+81 2021-05-14Singletons : DetailTopManga : OKClyhtsuriva2-21/+49 2021-05-14Addedd Singletons for TopManga.Clyhtsuriva3-23/+43