optimize
This commit is contained in:
parent
a84a9dc416
commit
8f30d7255c
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@ test2.apk
|
||||||
test apk.apk
|
test apk.apk
|
||||||
test apk1.apk
|
test apk1.apk
|
||||||
xnee.xns
|
xnee.xns
|
||||||
|
out.txt
|
||||||
|
|
|
@ -32,7 +32,7 @@ sleep 2
|
||||||
if [ -z "$3" ]; then
|
if [ -z "$3" ]; 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
|
||||||
else
|
else
|
||||||
dsniff -i $modul -w out.txt
|
dsniff -i $modul -mc > out.txt
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue