diff options
author | makefu <github@syntax-fehler.de> | 2014-12-25 21:15:01 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-12-25 21:15:01 +0100 |
commit | abd5b2c8f074ae26c2680048640c47e10566bd39 (patch) | |
tree | 9dbdc63edbababec6412992dabba84089117b472 /recon/inspector_wifi/plugins/02tplink | |
parent | c0f39b57888603595aa37d5abbdad0f52a525184 (diff) | |
parent | 8db6cecf6f088ebac98a6be15d920ab412a1c510 (diff) |
Merge branch 'master' of ssh://github.com/krebscode/painload
everything stays the same in inspector_wifi
Conflicts:
recon/inspect_wifi/.gitignore
recon/inspect_wifi/README.md
recon/inspect_wifi/TODO
recon/inspect_wifi/inspector_wifi
recon/inspect_wifi/plugins/01open
recon/inspect_wifi/plugins/02alice
recon/inspect_wifi/plugins/02easybox
recon/inspect_wifi/plugins/02tplink
recon/inspect_wifi/plugins/plugin_core
recon/inspector_wifi/.gitignore
recon/inspector_wifi/README.md
recon/inspector_wifi/TODO
recon/inspector_wifi/inspector_wifi
recon/inspector_wifi/plugins/01open
recon/inspector_wifi/plugins/02alice
recon/inspector_wifi/plugins/02easybox
recon/inspector_wifi/plugins/02tplink
recon/inspector_wifi/plugins/plugin_core
recon/wifi_inspector/.gitignore
recon/wifi_inspector/README.md
recon/wifi_inspector/TODO
recon/wifi_inspector/inspector_wifi
recon/wifi_inspector/plugins/01open
recon/wifi_inspector/plugins/02alice
recon/wifi_inspector/plugins/02easybox
recon/wifi_inspector/plugins/02tplink
recon/wifi_inspector/plugins/plugin_core
Diffstat (limited to 'recon/inspector_wifi/plugins/02tplink')
-rwxr-xr-x | recon/inspector_wifi/plugins/02tplink | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recon/inspector_wifi/plugins/02tplink b/recon/inspector_wifi/plugins/02tplink new file mode 100755 index 00000000..751ec209 --- /dev/null +++ b/recon/inspector_wifi/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 |