Al-Tourgi / android-thomson-key-solver

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

enhancement EasyBox Keygen #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
enhancement, added EasyBox Keygen, im uploading the SourceCode
and add in wifiNetwork
String tmp1=getMacEasyBox(); //part of the mac
        if(tmp1.length()>0)
        {
            //cant make match whitespace  with regular expresion Easybox[\\s-]tmp
            if(ssid.startsWith("Easybox "+tmp1) || ssid.startsWith("Easybox-"+tmp1)
                    ||ssid.startsWith("Arcor "+tmp1)|| ssid.startsWith("Arcor-"+tmp1) )
            {
                ssidSubpart = ssid;
                type = TYPE.EASYBOX;
                return true;
            }
        }
we need ad EASBOX as part of the enum
getMacEasyBox() is:
public String getMacEasyBox()
    {
        if(mac.length()>10)
        {
            return mac.replace(":","").substring(6,10);
        }
        return "";

    }
and main activity
case EASYBOX: Main.this.calculator = new EasyBoxKeygen(handler, getResources());
                break;

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

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch.

The regex could be improved. How is the SSID name of the networks?

Original comment by ruka.araujo on 14 Jul 2012 at 9:46

GoogleCodeExporter commented 8 years ago
Issue 42 has been merged into this issue.

Original comment by ruka.araujo on 14 Jul 2012 at 9:46

GoogleCodeExporter commented 8 years ago
By the way, where are these routers deployed?

Original comment by ruka.araujo on 14 Jul 2012 at 9:47

GoogleCodeExporter commented 8 years ago
Forget both question, I have already found the answers. Thanks for implementing 
this, I had the algorithm in my TODO list. ;)

With which name do you want to be in the credits?

Original comment by ruka.araujo on 14 Jul 2012 at 9:56

GoogleCodeExporter commented 8 years ago
Well could be Zen Kun and btw I'm testing another algorithm  ;D

Original comment by zenyagami@gmail.com on 14 Jul 2012 at 10:07

GoogleCodeExporter commented 8 years ago
I have commited the code. I have remade most of the project so your code is a 
bit different now from the project.

Original comment by ruka.araujo on 14 Jul 2012 at 10:54

GoogleCodeExporter commented 8 years ago

Original comment by ruka.araujo on 14 Jul 2012 at 10:56