PacketFence - BTS - PacketFence 1.6.2
View Issue Details
0000150PacketFence 1.6.2public2006-11-14 08:262007-01-10 10:02
user4 
 
normalminoralways
closedfixed 
0000150: creating nessus scan fails on closed failhandle
/usr/local/pf/bin/pfcmd 'schedule now 192.168.0.80 tid="10150;10870;11011;11808;11835;11890;12054;12204;12209;14724"'
print() on closed filehandle FILE at /usr/local/pf/bin/pfcmd line 291.
print() on closed filehandle FILE at /usr/local/pf/bin/pfcmd line 292.
print() on closed filehandle FILE at /usr/local/pf/bin/pfcmd line 293.
The following diff fixes the problem:

--- pfcmd.old 2006-11-14 11:21:08.000000000 -0500
+++ pfcmd 2006-11-14 11:23:06.000000000 -0500
@@ -287,7 +287,7 @@
     my $date=mysql_date();
     $date=~s/ /-/g;
     $hostaddr=~s///\/g;
- open(FILE,">$install_dir/html/admin/schedule/results/dump_${hostaddr}_$date");
+ open(FILE,">$install_dir/html/admin/scan/results/dump_${hostaddr}_$date");
     print FILE shift(@output)."n";
     print FILE join($delimiter, ("vulnerable","mac","ip","tid","sid","port","description"))."n";
     print FILE @output;
No tags attached.
Issue History
2006-11-14 08:26user4New Issue
2006-11-14 08:27user4Note Added: 0000305
2007-01-10 10:02dlaporteStatusnew => closed
2007-01-10 10:02dlaporteNote Added: 0000374
2007-01-10 10:02dlaporteResolutionopen => fixed

Notes
(0000305)
user4   
2006-11-14 08:27   
Reminder sent to: dlaporte, kevmcs

(0000374)
dlaporte   
2007-01-10 10:02   
completed