Esempio n. 1
0
 private void btnSubfinder_Click(object sender, EventArgs e)
 {
     myForms.ToolTesting sub = new ToolTesting();
     sub.ToolName    = "subfinder";
     sub.CommandTool = $"/c subfinder -d {txtDomain.Text}";
     sub.Show(dockPanel, DockState.Document);
 }
Esempio n. 2
0
        private void httprobe_Click(object sender, EventArgs e)
        {
            var clickedMenuItem = sender as MenuItem;
            var menuText        = clickedMenuItem.Text;

            //MessageBox.Show(nodeSelect.Text + " " + menuText);

            string[] arr = nodeSelect.FullPath.Split('\\');
            arr = arr.Skip(1).ToArray();
            //FileAttributes attr = File.GetAttributes($"{Properties.Settings.Default.WORKING_PATH}\\{ string.Join("\\", arr)}");

            //MyUserControls.ToolTestingControl ht = new MyUserControls.ToolTestingControl();
            myForms.ToolTesting ht = new ToolTesting();
            ht.ToolName    = "httprobe";
            ht.CommandTool = $"/c cat {Properties.Settings.Default.WORKING_PATH}\\{ string.Join("\\", arr)} | httprobe -p http:8080 -p https:8443";
            ht.Show(dockPanel, DockState.Document);
            //flowLayoutPanel.Controls.Add(ht);
        }