mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
🔒 Fix OS command injection vulnerability.
This commit is contained in:
parent
8503efa6fe
commit
6e13036780
6 changed files with 9 additions and 8 deletions
|
@ -53,6 +53,7 @@ if (!empty($_POST['save'])) {
|
|||
}
|
||||
|
||||
$v_username = $user;
|
||||
$v_job = escapeshellarg($_GET['job']);
|
||||
$v_min = escapeshellarg($_POST['v_min']);
|
||||
$v_hour = escapeshellarg($_POST['v_hour']);
|
||||
$v_day = escapeshellarg($_POST['v_day']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue