$scapedArgument

pull/15/head
necro-nemesis 5 years ago
parent d90a88a51f
commit a1c264b636

@ -634,7 +634,8 @@ function SaveTORAndVPNConfig(){
</div>
<?php
//echo "lokinet-bootstrap ", $bootstrap;
$output = shell_exec( 'sudo /home/pi/loki-network/lokilaunch.sh bootstrap', $bootstrap );
$escapedArgumment = escapeshellarg($bootstrap);
$output = shell_exec( 'sudo /home/pi/loki-network/lokilaunch.sh bootstrap $escapedArgumment' );
echo "<pre>$output</pre>";
}

Loading…
Cancel
Save