summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-06-26 13:34:39 +0200
committermakefu <github@syntax-fehler.de>2013-06-26 13:34:39 +0200
commit07740b90c9803ca41e1ef931277a65ebcd4bfcd8 (patch)
tree9bd60a3687ad8fc794459e7994fb44db431195c3
parentae52241d3802079628a87a534ce1853d1d46c82a (diff)
CHANNEL is FREQ in wpa_supplicant parser
-rwxr-xr-xusr/bin/autowifi_dryrun6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/bin/autowifi_dryrun b/usr/bin/autowifi_dryrun
index 8860b4a6..c9867106 100755
--- a/usr/bin/autowifi_dryrun
+++ b/usr/bin/autowifi_dryrun
@@ -17,7 +17,7 @@ wifi_log=$root/var/log/autowifi.log
. $root/usr/lib/autowifi/lib/wpa_supplicant
crack_wifi(){
- #SSID MAC CHANNEL ENCRYPTION
+ #SSID MAC FREQ ENCRYPTION
ALL_RET=1
for hack in $(find $root/usr/lib/autowifi/plugins -type f | sort -n); do
@@ -42,9 +42,9 @@ wifi_init(){
loop_over_networks(){
wifi_init
- echo "SSID:MAC:CHANNEL:ENCRYPTION:key"
+ echo "SSID:MAC:FREQ:ENCRYPTION:key"
for i in `seq 1 $WIFI_COUNT`; do
- eval crack_wifi \"\${ESSID_${i}}\" \${MAC_${i}} \${CHANNEL_${i}} \${ENCRYPTION_${i}}
+ eval crack_wifi \"\${ESSID_${i}}\" \${MAC_${i}} \${FREQ_${i}} \${ENCRYPTION_${i}}
done
}