//Menu public static void Menu() { bool exit = false; do { switch (GetMenuChoice()) { case 0: { return; } case 1: { FtpProperties(); brute(new String[0]); exit = true; break; } case 2: { FtpProperties(); DictionaryAttack(); break; } case 3: { PortScan(); break; } case 4: { AutomaticAttacks AutoAttack = new AutomaticAttacks(); AutomaticAttacks.AutoMaticFtpProperties(); AutomaticAttacks.AutoMaticPortScanSpecific(); AutomaticAttacks.AutoMaticDictionaryAttack(); Console.WriteLine("Next attack will begin within 3 seconds"); Thread.Sleep(3000); AutomaticAttacks.AutoMaticBrute(new String[0]); break;} case 5: { FtpProperties(); PortScanSpecific(); break; } } } while (!exit); }
//Menu metod som presenterar och läser in vad som skall ske härnäst public static void Menu() { bool exit = false; do { switch (GetMenuChoice()) { case 0: { return; } case 1: { FtpProperties(); brute(); exit = true; break; } case 2: { selected = 1; FtpProperties(); DictionaryAttack(); break; } case 3: { selected = 2; FtpProperties(); UsernameBruteForce(); break; } case 4: { FtpProperties(); BurstMode(); break; } case 5: { PortScan(); break; } case 6: { PortScanSpecific(); break; } case 7: { AutomaticAttacks AutoAttack = new AutomaticAttacks(); AutomaticAttacks.AutoMaticFtpProperties(); AutomaticAttacks.AutoMaticPortScanSpecific(); AutomaticAttacks.AutoMaticDictionaryAttack(); Console.WriteLine("Next attack will begin within 3 seconds"); Thread.Sleep(3000); AutomaticAttacks.brute(); break; } case 8: { Statistics(); break; } case 9: { Email(); break; } case 10: { HelpMenu(); break; } } } while (!exit); }