aboutsummaryrefslogtreecommitdiff

Building

mkdir build
cd build
cmake ..
make

Running

Set all available wlan interfaces in monitor mode on different channels:

/sbin/iw dev | sed -n 's,.*Interface \(.*\),\1,p' |sort -n | while read iface; do
    echo "Configuring $iface"
    sudo ifconfig $iface down
    n=$(echo $iface | sed 's,wlan\(.*\),\1,')
    sudo ifconfig $iface channel $(($n+1))
    sudo iwconfig $iface mode monitor
    sudo ifconfig $iface up
done

sudo build/capture wlan0 | build/transmitter 10.13.37.30