Esempio n. 1
0
 public informationsForm(Webshell selectedWs)
 {
     this.selectedWebShell = selectedWs;
     InitializeComponent();
     this.Text = "Server Information - " + selectedWs.getUrl();
     refreshListViewInfos(selectedWebShell);
 }
Esempio n. 2
0
 public fileInformationsForm(Webshell currentWs, string selectedFilePath)
 {
     this.path = selectedFilePath;
     this.ws   = currentWs;
     InitializeComponent();
     this.Text = "File Information - " + selectedFilePath;
     refreshListViewInfos(this.ws, this.path);
 }
Esempio n. 3
0
        public void refreshListViewInfos(Webshell pWs, string pPath)
        {
            IDictionary <string, string> inf = ws.fileInformation(pPath);

            foreach (KeyValuePair <string, string> oneInformation in inf)
            {
                lvInformations.Items.Add(new ListViewItem(new string[] { oneInformation.Key, oneInformation.Value }));
            }
        }
Esempio n. 4
0
        public void refreshListViewInfos(Webshell ws)
        {
            IDictionary <string, string> inf = ws.queryInformation(ws.getUrl(), ws.getParam());

            foreach (KeyValuePair <string, string> oneInformation in inf)
            {
                lvInformations.Items.Add(new ListViewItem(new string[] { oneInformation.Key, oneInformation.Value }));
            }
        }
Esempio n. 5
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     if (isNotDuplicate(tbURL.Text))
     {
         if (isValid(tbURL.Text, tbParam.Text))
         {
             Webshell newWS = new Webshell(tbURL.Text, tbParam.Text);
             webshells.Add(newWS);
             parentfrm.refreshListViewInfos();
             this.Close();
         }
     }
     else
     {
         MessageBox.Show("this webshell is already registered");
     }
 }
Esempio n. 6
0
 public phpForm(Webshell selected)
 {
     this.selectedWebShell = selected;
     InitializeComponent();
     this.Text = "Php Exec - " + selected.getUrl();
 }
Esempio n. 7
0
 public fileManagerForm(Webshell selected)
 {
     this.selectedWebShell = selected;
     InitializeComponent();
     this.Text = "File Manager - " + selected.getUrl();
 }
Esempio n. 8
0
 public shellForm(Webshell selected)
 {
     this.selectedWebShell = selected;
     InitializeComponent();
     this.Text = "Shell - " + selected.getUrl();
 }
Esempio n. 9
0
 public screenshotForm(Webshell selected)
 {
     this.selectedWebShell = selected;
     InitializeComponent();
     this.Text = "Screenviewer - " + selected.getUrl();
 }