0) { $ent = array(); $ent['command'] = $_POST['command']; if (isset($id)) { //if ($a_shellcmd[$id]) { //update switch (htmlspecialchars($type)) { case "earlyshellcmd": $a_earlyshellcmd[$id] = $ent; break; case "shellcmd": $a_shellcmd[$id] = $ent; break; case "afterfilterchangeshellcmd": // $a_afterfilterchangeshellcmd[$id] = $ent; break; default: break; } } else { //add switch (htmlspecialchars($type)) { case "earlyshellcmd": $a_earlyshellcmd[] = $ent; break; case "shellcmd": $a_shellcmd[] = $ent; break; case "afterfilterchangeshellcmd": //$a_afterfilterchangeshellcmd[] = $ent; break; default: break; } } write_config(); php_sync_package(); } header("Location: shellcmd.php"); exit; } } include("head.inc"); ?>

Shellcmd: Edit


Command
Type \n"; echo " \n"; switch (htmlspecialchars($type)) { case "earlyshellcmd": echo " \n"; echo " \n"; //echo " \n"; break; case "shellcmd": echo " \n"; echo " \n"; //echo " \n"; break; case "afterfilterchangeshellcmd": //echo " \n"; //echo " \n"; //echo " \n"; break; default: echo " \n"; echo " \n"; echo " \n"; //echo " \n"; break; } echo " \n"; ?>