summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-05-29 20:37:39 +0200
committermakefu <github@syntax-fehler.de>2013-05-29 20:37:39 +0200
commitb292dfe3dea7affa29e526c1328613f6e5ca8ed4 (patch)
tree450f2a05c43855e5268b5f1e6026fa83563bba15 /usr
parent3b3ad99602dbb7e03186c33c045774147b06da8b (diff)
move default_wps to back
Diffstat (limited to 'usr')
-rwxr-xr-xusr/bin/autowifi2
-rwxr-xr-xusr/lib/autowifi/plugins/30default_wps (renamed from usr/lib/autowifi/plugins/10default_wps)2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi
index f5a177a0..55eaefcd 100755
--- a/usr/bin/autowifi
+++ b/usr/bin/autowifi
@@ -49,7 +49,7 @@ loop_over_networks(){
. /tmp/${wifi}.scan
for i in `seq 1 $WIFI_COUNT`; do
eval grep -q \${MAC_${i}} /etc/autowifi/blacklist && continue
- eval crack_wifi "\${ESSID_${i}}" \${MAC_${i}} \${CHANNEL_${i}} \${ENCRYPTION_${i}} \${WPA_${i}} \${WPA2_${i}} && break
+ eval crack_wifi \"\${ESSID_${i}}\" \"\${MAC_${i}}\" \${CHANNEL_${i}} \${ENCRYPTION_${i}} \${WPA_${i}} \${WPA2_${i}} && break
done
}
diff --git a/usr/lib/autowifi/plugins/10default_wps b/usr/lib/autowifi/plugins/30default_wps
index cd87bc11..98be6a66 100755
--- a/usr/lib/autowifi/plugins/10default_wps
+++ b/usr/lib/autowifi/plugins/30default_wps
@@ -3,4 +3,4 @@
# http://www.wotan.cc/?p=75
cd $(dirname $(readlink -f $0))
. ../lib/wps
-try_wps_pin $@ 12345671
+try_wps_pin "$@" 12345670