Hello all,
I emailed this patch to the list several months ago but it still hasn't
made it into the mainline tree. This patch corrects a color problem with
HTML output and makes the colors for each address match the colors shown
at the top of the report.
--- nessus-core.orig/nessus/html_graph_output.c Wed Dec 26 04:49:53 2001
+++ nessus-core/nessus/html_graph_output.c Thu Feb 21 13:14:31 2002
@@ -1223,7 +1223,7 @@
fprintf(f, "<a href=\"%s/index.html\">%s</a></td>\n", name,
hosts->name);
if(holes)fprintf(f, "<td><FONT COLOR=\"#FF0000\">(<b>found %d
security hole%s)</b></FONT></td>\n",
holes, holes>1?"s":"");
- else if(warnings)fprintf(f, "<td><FONT COLOR=\"#FF0000\">(<b>found
%d security warning%s</b>)</FONT></td>\n",
+ else if(warnings)fprintf(f, "<td><FONT COLOR=\"#660000\">(<b>found
%d security warning%s</b>)</FONT></td>\n",
warnings, warnings>1?"s":"");
else if(notes)fprintf(f, "<td>(<b>found %d security
note%s</b>)</td>\n",
notes, notes>1?"s":"");
I emailed this patch to the list several months ago but it still hasn't
made it into the mainline tree. This patch corrects a color problem with
HTML output and makes the colors for each address match the colors shown
at the top of the report.
--- nessus-core.orig/nessus/html_graph_output.c Wed Dec 26 04:49:53 2001
+++ nessus-core/nessus/html_graph_output.c Thu Feb 21 13:14:31 2002
@@ -1223,7 +1223,7 @@
fprintf(f, "<a href=\"%s/index.html\">%s</a></td>\n", name,
hosts->name);
if(holes)fprintf(f, "<td><FONT COLOR=\"#FF0000\">(<b>found %d
security hole%s)</b></FONT></td>\n",
holes, holes>1?"s":"");
- else if(warnings)fprintf(f, "<td><FONT COLOR=\"#FF0000\">(<b>found
%d security warning%s</b>)</FONT></td>\n",
+ else if(warnings)fprintf(f, "<td><FONT COLOR=\"#660000\">(<b>found
%d security warning%s</b>)</FONT></td>\n",
warnings, warnings>1?"s":"");
else if(notes)fprintf(f, "<td>(<b>found %d security
note%s</b>)</td>\n",
notes, notes>1?"s":"");