Example #1
0
        static void Main()
        {
            VulnReportHelpers.setBaseDirBasedOnExecutionEnvironment();
            VulnReportHelpers.confirmExistenceOfRequiredFilesAndFolders();
            VulnReportHelpers.loadCustomORGdata();
            bool bByPassSplashPage = false; // Set this to true to bypass the Splash page (useful when in development mode)

            frmSplashPage sp = new frmSplashPage(bByPassSplashPage);

            if (bByPassSplashPage || (sp.ShowDialog() == DialogResult.OK))
            {
                OrgBasePaths obp = OrgBasePaths.GetPaths();
                obp.initiatePaths();
                Application.Run(new PenTest_Reporter());
            }
        }
Example #2
0
 private void btCreateNewProject_Click(object sender, System.EventArgs e)
 {
     if (tbNewProjectName.Text == "")
     {
         MessageBox.Show("You must enter a new project name");
     }
     else
     {
         if (lbCurrentProjects.Items.Contains(tbNewProjectName.Text))
         {
             MessageBox.Show("A project with that name already exists");
         }
         else
         {
             VulnReportHelpers.createNewProjectAndAddItToListBox(lbCurrentProjects, tbNewProjectName.Text);
             tbNewProjectName.Text = "";
         }
     }
 }
Example #3
0
 private void miExit(object sender, System.EventArgs e)
 {
     VulnReportHelpers.deleteTempFilesAndTerminateProcess();
 }
 private void PenTest_Reporter_Closed(object sender, System.EventArgs e)
 {
     VulnReportHelpers.deleteTempFiles();
 }