mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-03-24 12:50:22 +01:00
Merge pull request #535 from SysVoid/patch-7
[HIGH PRIORITY] Forgot to escape command arguments
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user