예제 #1
0
        // Token: 0x06000347 RID: 839 RVA: 0x00013968 File Offset: 0x00011B68
        private void method_7()
        {
            string text = "-e " + this.gclass9_0.PKE;

            for (;;)
            {
IL_1BE:
                text = text + " -r " + this.gclass9_0.PKR;
                for (;;)
                {
IL_1A5:
                    text = text + " -s " + this.gclass9_0.E_HAS1;
                    for (;;)
                    {
IL_151:
                        text = text + " -z " + this.gclass9_0.E_HAS2;
                        text = text + " -a " + this.gclass9_0.AuthKey;
                        text = text + " -n " + this.gclass9_0.E_NONCE;
                        if (this.cbxRNonce.Checked)
                        {
                            goto IL_12B;
                        }
                        for (;;)
                        {
IL_142:
                            if (this.cbxEBssid.Checked)
                            {
                                goto IL_112;
                            }
                            for (;;)
                            {
IL_104:
                                int selectedIndex = this.cbMode.SelectedIndex;
                                for (;;)
                                {
IL_E1:
                                    switch (selectedIndex)
                                    {
                                    case 0:
                                        goto IL_1D7;

                                    case 1:
                                        goto IL_22D;

                                    case 2:
                                        goto IL_23E;

                                    case 3:
                                        goto IL_24C;

                                    case 4:
                                        goto IL_2A8;

                                    case 5:
                                        goto IL_2B6;

                                    default:
                                    {
                                        uint num2;
                                        uint num = num2 * 3820013271U ^ 3077862196U;
                                        for (;;)
                                        {
                                            switch ((num2 = (num ^ 2256414163U)) % 35U)
                                            {
                                            case 0U:
                                                goto IL_35C;

                                            case 1U:
                                            case 2U:
                                            case 5U:
                                            case 16U:
                                            case 20U:
                                                goto IL_2C2;

                                            case 3U:
                                                goto IL_12B;

                                            case 6U:
                                            case 31U:
                                                goto IL_1BE;

                                            case 7U:
                                                goto IL_2F4;

                                            case 8U:
                                                goto IL_258;

                                            case 9U:
                                                goto IL_104;

                                            case 10U:
                                                goto IL_2FF;

                                            case 11U:
                                                goto IL_1E7;

                                            case 12U:
                                                goto IL_1D7;

                                            case 13U:
                                                goto IL_31F;

                                            case 14U:
                                                goto IL_2E8;

                                            case 15U:
                                                goto IL_22D;

                                            case 17U:
                                                goto IL_342;

                                            case 18U:
                                                goto IL_2A8;

                                            case 19U:
                                                goto IL_32C;

                                            case 21U:
                                                goto IL_2B6;

                                            case 22U:
                                                goto IL_265;

                                            case 23U:
                                                goto IL_369;

                                            case 24U:
                                                goto IL_142;

                                            case 25U:
                                                goto IL_1A5;

                                            case 26U:
                                                goto IL_2DB;

                                            case 27U:
                                                num = (num2 * 781617978U ^ 1350863861U);
                                                continue;

                                            case 28U:
                                                goto IL_E1;

                                            case 29U:
                                                goto IL_112;

                                            case 30U:
                                                goto IL_23E;

                                            case 32U:
                                                goto IL_2CF;

                                            case 33U:
                                                goto IL_24C;

                                            case 34U:
                                                goto IL_151;
                                            }
                                            goto Block_1;
                                        }
                                        break;
                                    }
                                    }
                                }
                            }
IL_112:
                            text = text + " -b " + this.gclass9_0.BSSID;
                            goto IL_104;
                        }
IL_12B:
                        text = text + " -m " + this.gclass9_0.R_NONCE;
                        goto IL_142;
                    }
                }
            }
Block_1:
            return;

IL_1D7:
            if (this.cbxForce.Checked)
            {
                goto IL_2C2;
            }
IL_1E7:
            text += string.Format(" --start {0} --end {1}", this.dtpStart.Value.ToString("MM/yyyy"), this.dtpEnd.Value.ToString("MM/yyyy"));
            goto IL_2C2;
IL_22D:
            text += " --mode 1 ";
            goto IL_2C2;
IL_23E:
            text += " --mode 2 ";
            goto IL_2C2;
IL_24C:
            text += " --mode 3 ";
IL_258:
            if (this.cbxForce.Checked)
            {
                goto IL_2C2;
            }
IL_265:
            text += string.Format(" --start {0} --end {1}", this.dtpStart.Value.ToString("MM/yyyy"), this.dtpEnd.Value.ToString("MM/yyyy"));
            goto IL_2C2;
IL_2A8:
            text += " --mode 4 ";
            goto IL_2C2;
IL_2B6:
            text += " --mode 5 ";
IL_2C2:
            if (!this.cbxForce.Checked)
            {
                goto IL_2DB;
            }
IL_2CF:
            text += " --force ";
IL_2DB:
            if (!this.cbxLength.Checked)
            {
                goto IL_2F4;
            }
IL_2E8:
            text += " --length ";
IL_2F4:
            this.process_0 = new Process();
IL_2FF:
            Class6.Class7_0.MainForm_0.method_22(" PixieWps " + text, Color.White, true);
IL_31F:
            string text2 = GClass3.smethod_28(text, ref this.process_0);

IL_32C:
            Class6.Class7_0.MainForm_0.method_22(text2, Color.White, true);
IL_342:
            Class6.Class7_0.MainForm_0.method_22(Class13.string_4, Color.LightGreen, false);
IL_35C:
            Class13.smethod_11(text2, ref this.gclass12_0);
IL_369:
            this.btStop.PerformClick();
        }