From 15243d40c7eb2e65cfb57499877d9ef8376b521b Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Wed, 30 Oct 2019 12:02:20 +0100 Subject: #915 Fix run script command This patch fixes run script command as it now uses REST API instead of SocketHidra. --- admin/WebConsole/comandos/gestores/gestor_Comandos.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'admin/WebConsole/comandos') diff --git a/admin/WebConsole/comandos/gestores/gestor_Comandos.php b/admin/WebConsole/comandos/gestores/gestor_Comandos.php index 7aaba1e5..27b6fab6 100644 --- a/admin/WebConsole/comandos/gestores/gestor_Comandos.php +++ b/admin/WebConsole/comandos/gestores/gestor_Comandos.php @@ -224,6 +224,9 @@ if($sw_ejya=='on' || $sw_ejprg=="on" ){ case OG_CMD_ID_SOFTWARE: software($cadenaip, $atributos); break; + case OG_CMD_ID_SCRIPT: + shell(3, $cadenaip, $atributos); + break; } // En agente nuevo devuelvo siempre correcto $resulhidra = 1; -- cgit v1.2.3-18-g5258