summaryrefslogtreecommitdiffstats
path: root/usr/lib/autowifi/plugins/30default_wps
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-12-20 22:08:23 +0100
committermakefu <github@syntax-fehler.de>2014-12-20 22:08:33 +0100
commitdbaee4aae713410b813f871bb8e8594a9d84f814 (patch)
treed2f5d37c6bad81f3e87c13628933e505c8237315 /usr/lib/autowifi/plugins/30default_wps
parent16e1373ddd9050dd06cd699b2874cf178375574b (diff)
autowifi-merged files to recon/autowifi
Diffstat (limited to 'usr/lib/autowifi/plugins/30default_wps')
-rwxr-xr-xusr/lib/autowifi/plugins/30default_wps18
1 files changed, 0 insertions, 18 deletions
diff --git a/usr/lib/autowifi/plugins/30default_wps b/usr/lib/autowifi/plugins/30default_wps
deleted file mode 100755
index 50ad2676..00000000
--- a/usr/lib/autowifi/plugins/30default_wps
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-# on MANY WPS-enabled devices the pin is 12345670 , so we can give it a shot
-# http://www.wotan.cc/?p=75
-cd $(dirname $(readlink -f $0))
-. ../lib/wps
-. ../lib/plugin_core
-
-parse_plugin_args "$@"
-check_painmode
-DEFAULT_PIN="${DEFAULT_PIN:-12345670}"
-
-if has_wps "$ENC"; then
- echo "trying PIN $DEFAULT_PIN against $ESSID" >&2
- try_wps_pin "$@" $DEFAULT_PIN
-else
- echo "Network $ESSID not WPS enabled"
- exit 1
-fi