Changeset 78
- Timestamp:
- 09/20/2008 04:31:59 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
docs/CHANGES.txt (modified) (1 diff)
-
docs/nikto.dtd (modified) (1 diff)
-
plugins/nikto_reports.plugin (modified) (1 diff)
-
templates/xml_host_head.tmpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/CHANGES.txt
r76 r78 1 1 2008-09-20 plugins/nikto_core.plugin plugins/nikto_cgi.plugin nikto.pl 2 plugins/nikto_reports.plugin templates/xml_host_head.tmpl 3 docs/nikto.dtd 2 4 - Fixes to ensure nikto produces less perl warnings 5 - Fix for ticket #59: add vhost to xml output 3 6 2008-09-16 plugins/nikto_core.plugin plugins/nikto_httpoptions.plugin 4 7 - Fix for ticket #37 -
trunk/docs/nikto.dtd
r26 r78 17 17 <!ATTLIST scandetails itemstested CDATA #REQUIRED> 18 18 <!ATTLIST scandetails itemsfound CDATA #REQUIRED> 19 <!ATTLIST scandetails hostheader CDATA> 19 20 20 21 <!ELEMENT item (description,uri?,namelink?,iplink?)> -
trunk/plugins/nikto_reports.plugin
r73 r78 117 117 $variables{"#TEMPL_END"} = $TARGETS{$CURRENT_HOST_ID}{ports}{$CURRENT_PORT}{stop_time_disp}; 118 118 $variables{"#TEMPL_HOSTNAME"} = simple_enc($TARGETS{$CURRENT_HOST_ID}{hostname}); 119 $variables{"#TEMPL_HOST_HEADER"} = $TARGETS{$CURRENT_HOST_ID}{hostname}; 120 if (defined $TARGETS{$CURRENT_HOST_ID}{vhost}) 121 { 122 $variables{"#TEMPL_HOST_HEADER"} = $TARGETS{$CURRENT_HOST_ID}{vhost}; 123 } 119 124 $variables{"#TEMPL_IP"} = simple_enc($TARGETS{$CURRENT_HOST_ID}{ip}); 120 125 $variables{"#TEMPL_ITEMS_TESTED"} = $TARGETS{$CURRENT_HOST_ID}{total_checks}; -
trunk/templates/xml_host_head.tmpl
r26 r78 1 <scandetails targetip="#TEMPL_IP" targethostname="#TEMPL_HOSTNAME" targetport="#TEMPL_PORT" targetbanner="#TEMPL_BANNER" starttime="#TEMPL_START" endtime="#TEMPL_END" elasped="#TEMPL_ELAPSED" sitename="#TEMPL_LINK_NAME" siteip="#TEMPL_LINK_IP" itemstested="#TEMPL_ITEMS_TESTED" itemsfound="#TEMPL_ITEMS_FOUND" >1 <scandetails targetip="#TEMPL_IP" targethostname="#TEMPL_HOSTNAME" targetport="#TEMPL_PORT" targetbanner="#TEMPL_BANNER" starttime="#TEMPL_START" endtime="#TEMPL_END" elasped="#TEMPL_ELAPSED" sitename="#TEMPL_LINK_NAME" siteip="#TEMPL_LINK_IP" itemstested="#TEMPL_ITEMS_TESTED" itemsfound="#TEMPL_ITEMS_FOUND" hostheader="#TMPL_HOST_HEADER">
Note: See TracChangeset
for help on using the changeset viewer.