mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Fixed several Command Injection.
This commit is contained in:
parent
7603cdea7a
commit
0831a198b8
3 changed files with 11 additions and 4 deletions
|
@ -42,6 +42,8 @@ if ( $v_suspended == 'yes' ) {
|
|||
$v_status = 'active';
|
||||
}
|
||||
|
||||
$v_database = escapeshellarg($_GET['database']);
|
||||
|
||||
// Check POST request
|
||||
if (!empty($_POST['save'])) {
|
||||
$v_username = $user;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue