From 6dd7a15020aab595e087680a33b719a78ef6c410 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 20 Dec 2014 22:23:01 +0100 Subject: dump autowifi trash --- recon/autowifi/plugins/02tplink | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 recon/autowifi/plugins/02tplink (limited to 'recon/autowifi/plugins/02tplink') diff --git a/recon/autowifi/plugins/02tplink b/recon/autowifi/plugins/02tplink new file mode 100755 index 00000000..99ba0006 --- /dev/null +++ b/recon/autowifi/plugins/02tplink @@ -0,0 +1,17 @@ +#!/bin/sh +# Implementation of TP-Link default WPA Key +# Based on +# http://www.wardriving-forum.de/forum/f321/ezwlan-android-2-1-a-70045-4.html#post342481 + +cd $(dirname $(readlink -f $0)) +. plugin_core + +parse_plugin_args "$@" + +! check_vendor_mac $VENDOR_MAC "F8D111" && echo "$VENDOR_MAC not affected" && exit 1 +! echo $ESSID | egrep -q '^tp' && echo "$ESSID not affected" && exit 1 + + +# printf always makes string to lower, need that for correct md5sum +printf ${MAC:4:12} +exit 0 -- cgit v1.2.3