fix airmon process parsing
This commit is contained in:
parent
8929eecb88
commit
5c81709222
2
airmon
2
airmon
|
@ -155,7 +155,7 @@ checkProcessesIface() {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i in `ps auxw | grep $1 | grep -v "grep" | grep -v "airmon-ng" | awk '{print $2}'`
|
for i in `ps auxw | grep $1 | grep -v "grep" | grep -v "airmon" | awk '{print $2}'`
|
||||||
do
|
do
|
||||||
pname=`ps -o comm= -p $i`
|
pname=`ps -o comm= -p $i`
|
||||||
echo "Process with PID $i ($pname) is running on interface $1"
|
echo "Process with PID $i ($pname) is running on interface $1"
|
||||||
|
|
Loading…
Reference in New Issue