$id_reconscript)); echo htmlentities (io_safe_output($description), ENT_QUOTES, "UTF-8", true); return; } // Load global vars global $config; check_login (); if (! check_acl ($config['id_user'], 0, "LM")) { db_pandora_audit("ACL Violation", "Trying to access recon script Management"); require ("general/noaccess.php"); return; } /* * Disabled at the moment. if (!check_referer()) { require ("general/noaccess.php"); return; } */ $view = get_parameter ("view", ""); $create = get_parameter ("create", ""); if ($view != "") { $form_id = $view; $reconscript = db_get_row ("trecon_script", "id_recon_script", $form_id); $form_name = $reconscript["name"]; $form_description = $reconscript["description"]; $form_script = $reconscript ["script"]; } if ($create != "") { $form_name = ""; $form_description = ""; $form_script = ""; } // SHOW THE FORM // ================================================================= if (($create != "") OR ($view != "")){ if ($create != "") ui_print_page_header (__('Recon script creation'), "images/gm_servers.png", false, "reconscript_definition", true); else { ui_print_page_header (__('Recon script update'), "images/gm_servers.png", false, "reconscript_definition", true); $id_recon_script = get_parameter ("view",""); } if ($create == "") echo "