File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 77
88// Data & Render page
99if (empty ($ _GET ['domain ' ])){
10- exec (HESTIA_CMD ."v-list-dns-domains $ user json " , $ output , $ return_var );
10+ exec (HESTIA_CMD ."v-list-dns-domains " . escapeshellarg ( $ user). " ' json' " , $ output , $ return_var );
1111 $ data = json_decode (implode ('' , $ output ), true );
1212 $ data = array_reverse ($ data , true );
1313 unset($ output );
Original file line number Diff line number Diff line change 66include ($ _SERVER ['DOCUMENT_ROOT ' ]."/inc/main.php " );
77
88// Data
9- exec (HESTIA_CMD ."v-list-web-domains $ user json " , $ output , $ return_var );
9+ exec (HESTIA_CMD ."v-list-web-domains " . escapeshellarg ( $ user). " ' json' " , $ output , $ return_var );
1010$ data = json_decode (implode ('' , $ output ), true );
1111$ data = array_reverse ($ data ,true );
1212$ ips = json_decode (shell_exec (HESTIA_CMD .'v-list-sys-ips json ' ), true );
You can’t perform that action at this time.
0 commit comments