diff --git a/pandora_console/godmode/agentes/module_manager.php b/pandora_console/godmode/agentes/module_manager.php index 083517c122..e315ec3d16 100644 --- a/pandora_console/godmode/agentes/module_manager.php +++ b/pandora_console/godmode/agentes/module_manager.php @@ -1177,7 +1177,11 @@ foreach ($modules as $module) { $data[6] = ui_print_status_image( $status, htmlspecialchars($title), - true + true, + false, + false, + false, + ($module['ip_target']) ? 'IP: '.$module['ip_target'] : false ); // MAX / MIN values. diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 61720a99a4..4c935a6e55 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -1176,10 +1176,10 @@ if (check_login()) { $status, $title ); - - $last_status_change_text = 'Time elapsed since last status change: '; + $last_status_change_text = ($module['ip_target']) ? 'IP: '.$module['ip_target'].'
' : ''; + $last_status_change_text .= 'Time elapsed since last status change: '; $last_status_change_text .= !empty($module['last_status_change']) ? human_time_comparation($module['last_status_change']) : __('N/A'); - + hd($module, true); $data[5] = ui_print_status_image($status, htmlspecialchars($title), true, false, false, false, $last_status_change_text); if (!$show_context_help_first_time) { $show_context_help_first_time = true;