mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
🔒 ♻️ Implement secure exec
wrapper functions.
This commit is contained in:
parent
6e13036780
commit
8e951ac72e
115 changed files with 1345 additions and 1986 deletions
|
@ -16,8 +16,7 @@ switch ($action) {
|
|||
}
|
||||
|
||||
foreach ($backup as $value) {
|
||||
$value = escapeshellarg($value);
|
||||
exec (VESTA_CMD.$cmd." ".$user." ".$value, $output, $return_var);
|
||||
v_exec($cmd, [$user, $value], false);
|
||||
}
|
||||
|
||||
header("Location: /list/backup/exclusions");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue