mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Revert "[SECURITY] Fix OS command injection."
This commit is contained in:
parent
9620bfbf35
commit
39e9b6397b
115 changed files with 1980 additions and 1340 deletions
|
@ -12,8 +12,9 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
|
|||
top_panel($user,$TAB);
|
||||
|
||||
// Data
|
||||
v_exec('v-list-user-backup-exclusions', [$user, 'json'], false, $output);
|
||||
$data = json_decode($output, true);
|
||||
exec (VESTA_CMD."v-list-user-backup-exclusions $user json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_backup_exclusions.html');
|
||||
|
||||
// Back uri
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue