interface=`iwconfig 2>&1 | grep 802.11 | awk '{print $1}'` driver=`lshw | grep -i wireless= | awk '{print $3}' | awk -F= '{print $2}'` rline="source=$driver,$interface,INTERURFACE" #replace line in kismet.conf sed -i -e "/^source=/c$rline" /etc/kismet/kismet.conf
No comments:
Post a Comment