コード例 #1
0
        public void MainCharacter()
        {
           

            Main subMenu = new Main(lang);
            subMenu.LocalBruteForcerMenu();

            Interface category = new Interface(lang);           

            bool b = true;

            while (b)
            {
                int i = category.SelectOption(6);

                if (i == 1)
                {
                    LatinCharactere();
                    b = false;
                }
                else if (i == 2)
                {
                    SpecialCharacter(); 
                    b = false;
                }
                else if (i == 3)
                {
                    SwedishCharacter();
                    b = false;
                }
                else if (i == 4)
                {
                    CyrillicCharacter();
                    b = false;
                }
                else if (i == 5)
                {
                    Syllable_FrCharacter();
                    b = false;
                }
                else if (i == 6)
                {
                    CUSTOM = true;
                    b = false;
                }
                else if (i == 88)
                {
                    new Run(lang);
                }
                else if (i == 99)
                {
                    Environment.Exit(0);
                }                
            }
            
        }
コード例 #2
0
        static void Main(string[] args)
        {          
            Console.InputEncoding = System.Text.Encoding.UTF8;            
            Console.SetWindowSize(120, 25);

            Utility os = new Utility();
            os.Root();

            if (args.Length == 0)
            {
                Interface category = new Interface();
                ResourceManager lang = category.Lang_Text();
                new Run(lang);                
            }
            else
            {
                new Run(args);
            }
        }
コード例 #3
0
        public int Wifi()
        {

            Main.Version();
            Character.WifiMenu(lang);
            Interface category = new Interface(lang);

            int i = 0;

            bool b = true;

            while (b)
            {
                i = category.SelectOption(2);
               
                if (i == 1)
                {
                    Pattern.SfrPrint();
                    b = false;
                }
                else if (i == 2)
                {
                    Pattern.LiveboxPrint();
                    b = false;
                    
                }                
                else if (i == 88)
                {
                    new Run(lang);
                }
                else if (i == 99)
                {
                    Environment.Exit(0);
                }
            }

            Return(i);

            return i;

        }
コード例 #4
0
        /// <summary>
        /// display and selecting french syllable
        /// </summary>
        internal void  Syllable_FrCharacter()
        {
            Character chars = new Character(lang);
            chars.SyllableMenu();
            Interface selection = new Interface(lang);           

            bool b = true;

            while (b)
            {
                int i = selection.SelectOption(3);

                if (i == 1)
                {
                    Pattern.SyllableCharacterLowercasePrint();
                    b = false;
                }
                else if (i == 2)
                {
                    Pattern.SwddishCharacterUppercasePrint();
                    b = false;
                }
                else if (i == 3)
                {
                    Pattern.SwddishCharacterLowercaseUppercasePrint();
                    b = false;
                }
                                
            }           
        }
コード例 #5
0
        internal void  CyrillicCharacter()
        {

            Character chars = new Character(lang);
            chars.CyrillicMenu();
            Interface selection = new Interface(lang);

            bool b = true;

            while (b)
            {
                int i = selection.SelectOption(3);

                if (i == 1)
                {
                    Pattern.CyrillicCharacterLowercasePrint();
                    b = false;
                }
                else if (i == 2)
                {
                    Pattern.CyrillicCharacterUppercasePrint();
                    b = false;
                }
                else if (i == 3)
                {
                    Pattern.CyrillicCharacterUppercaseLowercasePrint();
                    b = false;
                }

            }            
        }
コード例 #6
0
        /// <summary>
        /// Display character and selecting special character
        /// </summary>
        internal void SpecialCharacter()
        {
            Character chars = new Character(lang);
            chars.SpecialMenu();
            Interface selection = new Interface(lang);            

            bool b = true;

            while (b)
            {
                int i = selection.SelectOption(3);

                if (i == 1)
                {
                    Pattern.MenuHexaPrint();
                    b = false;
                }
                else if (i == 2)
                {
                    Pattern.MenuNumericPrint();
                    b = false;
                }                
                else if (i == 3)
                {
                    Pattern.MenuSpecialCharacteresPrint();
                    b = false;
                }
                                
            }
            
        }
コード例 #7
0
        /// <summary>
        /// Display character and selecting pattern latin
        /// </summary>
        internal void LatinCharactere()
        {
            Character chars = new Character(lang);
            chars.LatinMenu();

            Interface selection = new Interface(lang);            

            bool b = true;
            int i = 0;

            while (b)
            {
                i = selection.SelectOption(3);
                if (i == 1)
                {
                    Pattern.LatinCharacterLowercasePrint();
                    b = false;
                }
                else if (i == 2)
                {
                    Pattern.LatinCharacteUppercasePrint();
                    b = false;
                }
                else if (i == 3)
                {
                    Pattern.LatinCharacterUppercaseLowercasePrint();
                    b = false;
                }
              
            }
           
        }
コード例 #8
0
        public Run(ResourceManager lang)
        {
            Interface option = new Interface(lang);
            _option = option;

            commun = new Wordlist(lang);

            Main principal = new Main(lang);
            principal.Menu();                               
                        
            bool b = true;

            while (b)
            {
                int i = option.SelectOption(4); 
                bool zip = false;


                if (i == 1)
                {
                    
                    int typesAtGenerate = commun.Wifi();
                    if (typesAtGenerate == 1)
                    {
                        Parameter.NumberOfChar = 20;
                    }
                    else
                    {
                        Parameter.NumberOfChar = 26;
                    }
                                        
                    Parameter.CharsetSelecting = option.InterfaceSelectCharset(lang);
                    Parameter.NumberOfAllCombination = tools.CalculOfAllCombinaison(Repeat, 3, Parameter.NumberOfChar, Parameter.CharsetSelecting);
                    BackupFileWordlist();
                    tools.StatiscalInfoSize(Parameter.NumberOfAllCombination, 3, Parameter.NumberOfChar);
                    b = GenerateWordlist(3);
                    
                }
                else if (i == 2)
                {
                    
                    commun.MainCharacter();
                    
                    Parameter.CharsetSelecting = option.InterfaceSelectCharset(lang);
                    int typesAtGenerate = option.TypesAtGenerate();

                    if (typesAtGenerate == 1)
                    {
                        Parameter.NumberOfChar = option.SizeOfWorld(Parameter.CharsetSelecting, Parameter.NumberOfChar, typesAtGenerate);

                        Parameter.CharsetSelecting = ChangeStartEndReverseMixPattern(Parameter.CharsetSelecting);
                        BackupFileWordlist();
                        Parameter.NumberOfAllCombination = tools.CalculOfAllCombinaison(false, typesAtGenerate, Parameter.NumberOfChar, Parameter.CharsetSelecting);
                        
                        tools.StatiscalInfoSize(Parameter.NumberOfAllCombination, typesAtGenerate, Parameter.NumberOfChar);
                        b = GenerateWordlist(1);                        

                    }
                    else if (typesAtGenerate == 2 | typesAtGenerate == 4 | typesAtGenerate == 5)
                    {
                        Parameter.NumberOfChar = option.SizeOfWorld(Parameter.CharsetSelecting, Parameter.NumberOfChar, typesAtGenerate);
                        Repeat = option.Repetition(Repeat);

                        Parameter.CharsetSelecting = ChangeStartEndReverseMixPattern(Parameter.CharsetSelecting);
                        Parameter.NumberOfAllCombination = tools.CalculOfAllCombinaison(Repeat, typesAtGenerate, Parameter.NumberOfChar, Parameter.CharsetSelecting);
                        BackupFileWordlist();
                        tools.StatiscalInfoSize(Parameter.NumberOfAllCombination, typesAtGenerate, Parameter.NumberOfChar);

                        b =  GenerateWordlist(typesAtGenerate);


                    }
                    else if (typesAtGenerate == 3)
                    {
                        Parameter.NumberOfChar = option.SizeOfWorld(Parameter.CharsetSelecting, Parameter.NumberOfChar, typesAtGenerate);
                        Parameter.NumberOfAllCombination = tools.CalculOfAllCombinaison(Repeat, typesAtGenerate, Parameter.NumberOfChar, Parameter.CharsetSelecting);
                        BackupFileWordlist();
                        tools.StatiscalInfoSize(Parameter.NumberOfAllCombination, typesAtGenerate, Parameter.NumberOfChar);
                        b = GenerateWordlist(3);
                    }                    

                    
                }
                else if (i == 3)
                {

                    principal.TransformWordlist();                   
                    int typesAtGenerate = option.SelectOption(4);

                    if (typesAtGenerate == 88) new Run(lang);
                    if (typesAtGenerate == 99) Environment.Exit(0);

                    
                    PathBackUpFiles = option.PathOfBuckupFiles();
                    zip = option.SaveCharsetInFilesZip();
                    string extension = Interface.ExtensionFileOutputPath(zip);

                    Parameter.CharsetSelecting = option.MenuReadFileTxt();
                    
                    TransformTextFiles toDoTransformFile = new TransformTextFiles();
                    if (typesAtGenerate == 1) toDoTransformFile.L33tSpeek(Parameter.CharsetSelecting,PathBackUpFiles,extension,zip);
                    if (typesAtGenerate == 2) toDoTransformFile.LowercaseToUppercas(Parameter.CharsetSelecting, PathBackUpFiles, extension,zip);          
                    if (typesAtGenerate == 3) toDoTransformFile.UppercaseToLowercase(Parameter.CharsetSelecting,PathBackUpFiles,extension,zip);
                    if (typesAtGenerate == 4) toDoTransformFile.AutoUppercaseLowercase(Parameter.CharsetSelecting, PathBackUpFiles, extension, zip);                    

                    b = false;
                }
                else if (i == 4)
                {
                    Parameter.CharsetSelecting = option.UserPasswordProfilerCharset(Parameter.CharsetSelecting);
                    int typesAtGenerate = option.TypesAtGenerate();

                    Parameter.NumberOfChar = option.SizeOfWorld(Parameter.CharsetSelecting, Parameter.NumberOfChar, typesAtGenerate);
                    Repeat = option.Repetition(Repeat);

                    Parameter.CharsetSelecting = ChangeStartEndReverseMixPattern(Parameter.CharsetSelecting);
                    Parameter.NumberOfAllCombination = tools.CalculOfAllCombinaison(Repeat, typesAtGenerate, Parameter.NumberOfChar, Parameter.CharsetSelecting);
                    BackupFileWordlist();
                    tools.StatiscalInfoSize(Parameter.NumberOfAllCombination, typesAtGenerate, Parameter.NumberOfChar);

                    b = GenerateWordlist(typesAtGenerate);
                }                
                else if (i == 99)
                {
                    Environment.Exit(0);
                }
                else
                {
                    b = true;
                }
            }
        }