Skip to content

Report Customization

sullo edited this page Aug 14, 2018 · 1 revision

Reports are generated from template files located in the templates directory. Variables are defined as #variable-name, and are replaced when the report is generated.

For HTML, the files htm_start.tmpl and htm_end.tmpl are included at the beginning and end of the report (respectively). The htm_summary.tmpl also appears at the beginning of the report. The htm_host_head appears once for every host, and the htm_host_item.tmpl and htm_host_im.tmpl appear once for each item found on a host and each "informational message" per host (respectively). The scheme for XML is with similar file names.

All valid variables are used in these templates.

The copyright statements must not be removed from the htm_end.tmpl without placing them in another of the templates. It is a violation of the Nikto licence to remove these notices.