Пример #1
0
        private void InternetIcon_Click(object sender, EventArgs e)
        {
            var formInternetBrowser = new Form_InternetBrowser();

            formInternetBrowser.Show();
            Class_Progress.StepCompleted("Phishing Email", 2); //step two completed
            Process.newProcess("Internet Browser", DateTime.Now);
        }
Пример #2
0
        private void Link_Click(object sender, EventArgs e)
        {
            //Open link in internet browser
            var formInternet = new Form_InternetBrowser();

            formInternet.AddressBar.Text = Link.Text;
            formInternet.Show();
            formInternet.Search.PerformClick();
            Class_Progress.StepCompleted("Phishing Email", 2); //step two completed, open internet

            if (Link.Text == "firewall.com")
            {
                Class_Progress.StepCompleted("Phishing Email", 3); //step three completed, visit firewall
            }
        }
Пример #3
0
        private void checkCommand(string command)
        {
            if (command.Contains("RUN%"))
            {
                string[] action = command.Split(' ');

                MessageBox.Show("EVENT CHECK", "SUCCESSFUL");
                MessageBox.Show(action[1], "COMMAND");

                switch (action[1])
                {
                case "Form_Email":
                    var formEmail = new Form_Email();
                    formEmail.Show();
                    break;

                case "Form_InternetBrowser":
                    var formInternetBrowser = new Form_InternetBrowser();
                    formInternetBrowser.Show();
                    break;

                default:
                    return;
                }
            }

            if (command.Contains("DELETE%"))
            {
                // TBD: ONCE FILE MANAGEMENT IS IMPLEMENTED
            }
            if (command.Contains("DIR%"))
            {
                string[] path       = command.Split(' ');
                string   currentDir = path.Last();
                cliDirectory += "\\" + currentDir;
                cliText.AppendText(Environment.NewLine + cliDirectory);
                cliCurrentLine += 1;
            }
            if (command.Contains("ECHO%"))
            {
                string[] output = command.Split(' ');
                foreach (string segment in output)
                {
                    cliText.AppendText(Environment.NewLine + segment);
                }
                cliCurrentLine += output.Length;
            }
            if (command.Contains("EXIT%"))
            {
                Application.Exit();
            }
            if (command.Contains("IPCONFIG%"))
            {
                cliText.AppendText(Environment.NewLine + "IP Address. . . . . . . . . . . . : 192.168.201.245");
                cliText.AppendText(Environment.NewLine + "Subnet Mask . . . . . . . . . . . : 255.255.255.0");
                cliText.AppendText(Environment.NewLine + "Default Gateway . . . . . . . . . : 192.168.201.1");
                cliCurrentLine += 3;
            }

            if (command.Contains("HELP%"))
            {
                cliText.AppendText(Environment.NewLine + "---------------- COMMAND LINE INSTRUCTIONS ----------------");
                cliText.AppendText(Environment.NewLine + "HERE YOU CAN ENTER A COMMAND FOR THE HACKERMAN SOFTWARE TO TRIGGER CERTAIN ACTIONS");
                cliText.AppendText(Environment.NewLine + "TO TRIGGER A CERTAIN ACTION, ENTER THE KEYWORD FOLLOWED BY %");
                cliText.AppendText(Environment.NewLine + "COMMANDS ARE LISTED BELOW");
                cliText.AppendText(Environment.NewLine + "RUN_X - RUNS A SPECIFIC DESKTOP APPLICATION ");
                cliText.AppendText(Environment.NewLine + "ECHO_X - ECHOS THE ENTERED TEXT ");
                cliText.AppendText(Environment.NewLine + "EXIT - EXITS THE COMMAND LINE INTERFACE");
                cliText.AppendText(Environment.NewLine + "IPCONFIG - DISPLAYS INTERNET PROTOCOL INFORMATION");
                cliText.AppendText(Environment.NewLine + "-----------------------------------------------------------");
                cliCurrentLine += 9;
            }

            if (command.Contains("PHISH%"))
            {
                cliText.AppendText(Environment.NewLine + "---------------- TRIGGERING PHISHING SIMULATION ----------------");
                Class_Progress.PhishSimulation();
                cliCurrentLine += 1;
            }

            if (command.Contains("RANSOMWARE%"))
            {
                cliText.AppendText(Environment.NewLine + "---------------- TRIGGERING RANSOMWARE SIMULATION ----------------");
                Class_Progress.RansomwareSimulation();
                cliCurrentLine += 1;
            }
        }
Пример #4
0
        private void internetExplorerClick(object sender, EventArgs e)
        {
            var formInternetBrowser = new Form_InternetBrowser();

            formInternetBrowser.ShowDialog();
        }
Пример #5
0
        private void button1_Click(object sender, EventArgs e)
        {
            var formInternetBrowser = new Form_InternetBrowser();

            formInternetBrowser.ShowDialog();
        }