Exemplo n.º 1
0
    static void Main(string[] args)
    {
        Logo.Banner();

        List <String> commands = new List <String>();

        commands.Add("nslookup www.google.com");
        commands.Add("ipconfig /all");
        commands.Add("whoami /priv");
        commands.Add("netstat -ano");
        commands.Add("route PRINT");
        commands.Add("net users");
        commands.Add("net localgroup administrators");
        commands.Add("dir c:\\");
        commands.Add("arp -a");
        commands.Add("hostname");
        commands.Add("echo %logonserver%");
        commands.Add("schtasks /query /fo LIST 2>nul | findstr TaskName");
        commands.Add("quser");

        /*
         * commands.Add("");
         * commands.Add("");
         * commands.Add("");
         * commands.Add("");
         */

        foreach (string cmd in commands)
        {
            Thread thread = new Thread(() =>
            {
                SharpEnum.Enum.runCmd(cmd);
            });

            thread.Start();
        }
    }