summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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