[Netpass-devel] NetPass/www/components/Admin FormNPNessus,1.1,1.2
Brought to you by:
jeffmurphy
From: Matt <mt...@us...> - 2005-06-14 20:32:41
|
Update of /cvsroot/netpass/NetPass/www/components/Admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27175 Modified Files: FormNPNessus Log Message: Index: FormNPNessus =================================================================== RCS file: /cvsroot/netpass/NetPass/www/components/Admin/FormNPNessus,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- FormNPNessus 8 Jun 2005 12:11:41 -0000 1.1 +++ FormNPNessus 14 Jun 2005 20:32:33 -0000 1.2 @@ -4,26 +4,6 @@ $submit => ''; </%args> -<%perl> -my $restartnessus = 0; - -if ($submit eq 'Commit Changes') { - foreach my $ak ( keys %ARGS ) { - if ($ak =~ /^(\S+):(\S+)$/) { - my $section = $1; - my $var = $2; - - if ($section eq "nessus") { - $np->cfg->nessus(-key => $var, -val => $ARGS{$ak}); - $restartnessus = 1; - } - } - } - - $np->db->reqAppAction('nessusd', 'restart', '') if ($restartnessus); -} -</%perl> - <TABLE WIDTH=800 class="expandable" ID="nessusConfig" CELLSPACING=2 CELLPADDING=2> <THEAD> <TR><TH onclick="showHideObj2(getElementById('nessusConfig').tBodies[0]);" COLSPAN=2>Nessus</TH></TR> |