Commit a3714a3b authored by sdrfnord's avatar sdrfnord

Wrote wlan-cap script to automate the use of airodump-ng and other tools.

parent 5c7b1fd4
......@@ -10,4 +10,6 @@ if [ ! -r "$1" ]; then
exit 1
fi
sox -t wav "$1" -esigned-integer -b16 -r 11026.878 -t raw - | multimonNG -s UFSK1200 -s ZVEI - $@
sox -t wav "$1" -esigned-integer -b16 -r 11026.878 -t raw - | multimonNG -s UFSK1200 -s ZVEI -s SCOPE - $@
# sox -t wav "$1" -esigned-integer -b16 -r 11026.878 -t raw - | multimonNG -s ZVEI - $@
# sox -t wav "$1" -esigned-integer -b16 -r 11026.878 -t raw - | multimonNG -c -a POCSAG1200 -a POCSAG512 - $@
#!/bin/bash
if [ "$1" == "start" ]; then
service network-manager stop
rfkill unblock 0
rfkill unblock 2
rfkill unblock 0
rfkill unblock 2
rfkill list
airmon-ng start wlan0
airodump-ng wlan0
elif [ "$1" == "stop" ]; then
airmon-ng stop mon0
airmon-ng stop wlan0
service network-manager start
else
echo 'Please call script with "start" or "stop".'
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment