mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Merge pull request #535 from SysVoid/patch-7
[HIGH PRIORITY] Forgot to escape command arguments
This commit is contained in:
commit
332ef2797e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ if (isset($_POST['user']) || isset($_POST['hash'])) {
|
|||
$i++;
|
||||
if (!empty($_POST['arg' . $i]))
|
||||
{
|
||||
$args[] = $_POST['arg' . $i];
|
||||
$args[] = escapeshellarg($_POST['arg' . $i]);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue