Esempio n. 1
0
        public void RunService()
        {
            UI.Log("");
            UI.Log("    . . . . . . . . . . . . . . . .  .  ");
            UI.Log("               Methane                  ");
            UI.Log("          Bulk File Operation           ");
            UI.Log("    . . . . . . . . . . . . . . . .  .  ");
            UI.Log("");



            UI.Log("Bulk File Operations Running...");


            bodyPipeline = csa.RunIterator();

            for (int n = 0; n < AllowedThrds; n++)
            {
                new System.Threading.Thread(new System.Threading.ThreadStart(ThrLoop))
                {
                    Name = $"FileOp Thrd {n}"
                }.Start();
                System.Threading.Thread.Sleep(1000);
            }


            while (runningThreads > 0)
            {
                System.Threading.Thread.Sleep(1000);
            }
        }
        public string Run()
        {
            UI.Log("Rapid POSTer Running...");


            bodyPipeline = csa.RunIterator();

            for (int n = 0; n < AllowedThrds; n++)
            {
                new System.Threading.Thread(new System.Threading.ThreadStart(ThrLoop))
                {
                    Name = $"POST Thrd {n}"
                }.Start();
                System.Threading.Thread.Sleep(10);
            }


            while (runningThrds != 0)
            {
                System.Threading.Thread.Sleep(100);
            }

            if (found)
            {
                UI.Prompt($"We found it!!! '{foundPass}'     ________");
            }
            else
            {
                UI.Prompt("I can't find it  :-(              ________");
            }

            return(foundPass);
        }
Esempio n. 3
0
        public void RunService()
        {
            UI.Log("");
            UI.Log("    . . . . . . . . . . . . . . . .  .  ");
            UI.Log("               Methane                  ");
            UI.Log("            Bulk HTTP GET              ");
            UI.Log("    . . . . . . . . . . . . . . . .  .  ");
            UI.Log("");



            UI.Log("Rapid GETer Running...");


            bodyPipeline = csa.RunIterator();

            for (int n = 0; n < AllowedThrds; n++)
            {
                new System.Threading.Thread(new System.Threading.ThreadStart(ThrLoop))
                {
                    Name = $"POST Thrd {n}"
                }.Start();
                System.Threading.Thread.Sleep(10);
            }


            while (runningThreads > 0)
            {
                System.Threading.Thread.Sleep(1000);
            }

            if (found)
            {
                UI.Prompt($"We found it!!! '{result}'     ________");
            }
            else
            {
                UI.Prompt("I can't find it  :-(              ________");
            }
        }