Example #1
0
 public function post_start()
 {
     $booter = Booter::getInstance();
     $response = $booter->boot(Input::get('ip'), Input::get('time'), Input::get('port'), Input::get('method'));
     if ($response === true) {
         if (Input::get('method') == 'stop') {
             return 'Successfully sent stop commands to servers.';
         }
         return 'Attack was successful!';
     } else {
         return $response;
     }
 }