Merge pull request #535 from SysVoid/patch-7

[HIGH PRIORITY] Forgot to escape command arguments
This commit is contained in:
Serghey Rodin 2015-12-11 22:44:55 +02:00
commit 332ef2797e

View file

@ -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;