From ee252f118bd228b7063a95b2e7d0ed1187771637 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Wed, 16 Feb 2022 08:02:48 -0500 Subject: [PATCH] testing service_controls --- scripts/service_controls.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/service_controls.php b/scripts/service_controls.php index 348c957..b259fbd 100644 --- a/scripts/service_controls.php +++ b/scripts/service_controls.php @@ -88,8 +88,8 @@ error_reporting(E_ALL); if(isset($_POST['submit'])){ $command = $_POST['submit']; -echo "

Executed $command

"; -shell_exec("$command"); +$results = shell_exec("$command"); +echo "$results"; } ?>