mrleelee68 / android-thomson-key-solver

Automatically exported from code.google.com/p/android-thomson-key-solver
0 stars 0 forks source link

enhancement Huawei #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. enhancements
2.
3.

with this code should now scan all Huawei vulnerable codes,some router in 
mexico change the ssid perhaps the default password.
and in WifiNetwork where huawei type its  change the commented for
/*if ( ssid.matches("INFINITUM[0-9a-zA-Z]{4}") && ( 
        mac.startsWith("00:25:9E") || mac.startsWith("00:25:68") ||
        mac.startsWith("00:22:A1") || mac.startsWith("00:1E:10") ||
        mac.startsWith("00:18:82") || mac.startsWith("00:0F:F2") ||
        mac.startsWith("00:E0:FC") || mac.startsWith("28:6E:D4") ||
        mac.startsWith("54:A5:1B") || mac.startsWith("F4:C7:14") ||
        mac.startsWith("28:5F:DB") || mac.startsWith("30:87:30") ||
        mac.startsWith("4C:54:99") || mac.startsWith("40:4D:8E") ||
        mac.startsWith("64:16:F0") || mac.startsWith("78:1D:BA") ||
        mac.startsWith("84:A8:E4") || mac.startsWith("04:C0:6F") ||
        mac.startsWith("5C:4C:A9") || mac.startsWith("1C:1D:67") ||
        mac.startsWith("CC:96:A0") || mac.startsWith("20:2B:C1") ) )*/
    //if(ssid.matches("INFINITUM[0-9a-zA-Z]{4}") && HuaweiKeygen.MacHuawei(mac) )
    if(HuaweiKeygen.MacHuawei(mac) ) // lets base in huawei MAC people can change SSID and maybe  not PWD its a little risky but at least in mexico works well
    {
        if ( ssid.startsWith("INFINITUM"))
        {
            ssidSubpart = ssid.substring(ssid.length()-4 );
        }
        else
        {
            ssidSubpart = "";
        } 
        type = TYPE.HUAWEI;
        return true;

    }

Original issue reported on code.google.com by zenyagami@gmail.com on 12 Jul 2012 at 4:07

Attachments:

GoogleCodeExporter commented 8 years ago
I would prefer a patch but this should be enough.

Hmm we used to have it like this but Huawei makes a lot of routers and this 
generates
a lot of false positives. 

Original comment by ruka.araujo on 12 Jul 2012 at 10:15

GoogleCodeExporter commented 8 years ago
But I understand the problem so I think you should get a different solution.

Original comment by ruka.araujo on 12 Jul 2012 at 10:21

GoogleCodeExporter commented 8 years ago
I have added a context menu for the networks list where the use can select the 
mac address to be used in the manual input dialog.

I feel that this is a good compromise. 

Original comment by ruka.araujo on 20 Aug 2012 at 12:57

GoogleCodeExporter commented 8 years ago
cool :)

Original comment by zenyagami@gmail.com on 20 Aug 2012 at 3:24