From 63c2687198fd5f0f3fb957ac6a46524c1e0ef5b4 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sun, 31 Mar 2019 23:27:28 -0400 Subject: [PATCH] deeper quote hell --- includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index e852f0d..a87dab2 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -636,8 +636,8 @@ function SaveTORAndVPNConfig(){ $bootstrap=str_replace("'", "", $bootstrap); $bootstrap=htmlspecialchars($bootstrap); //$bootstrap = escapeshellarg($bootstrap); - echo 'sudo /home/pi/loki-network/./lokilaunch.sh bootstrap "'.$bootstrap.'"'; - $output = shell_exec('sudo /home/pi/./loki-network/lokilaunch.sh bootstrap "'.$bootstrap.'"'); + echo 'sudo /home/pi/loki-network/./lokilaunch.sh bootstrap '.$bootstrap.''; + $output = shell_exec('sudo /home/pi/./loki-network/lokilaunch.sh bootstrap '.$bootstrap.''); echo "
$output
"; }