fix airmon process parsing
This commit is contained in:
parent
8929eecb88
commit
5c81709222
2
airmon
2
airmon
|
@ -155,7 +155,7 @@ checkProcessesIface() {
|
|||
return
|
||||
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
|
||||
pname=`ps -o comm= -p $i`
|
||||
echo "Process with PID $i ($pname) is running on interface $1"
|
||||
|
|
Loading…
Reference in New Issue