Changeset 368
- Timestamp:
- 03/31/2010 12:35:10 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/plugins/nikto_report_nbe.plugin (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/nikto_report_nbe.plugin
r365 r368 23 23 sub nikto_report_nbe_init { 24 24 my $id = { name => "report_nbe", 25 full_name => " CSVreports",25 full_name => "NBE reports", 26 26 author => "Seccbus", 27 27 description => "Produces a NBE report.", … … 41 41 42 42 # Write header 43 print OUT 44 "\"timestamps\"|\"network\"|\"host\"|\"port\"|\"nikto_id\"|\"prio\"|\"$NIKTO{'name'} v$NIKTO{'version'}/$NIKTO{'core_version'}\"\n"; 43 print OUT "timestamps|network|host|port|nikto_id|prio|$NIKTO{'name'} v$NIKTO{'version'}/$NIKTO{'core_version'}\n"; 45 44 return OUT; 46 45 } … … 54 53 $network = $1; 55 54 } 56 $line .= "\"results\"|"; 57 $line .= "\"$network\"|"; 58 $line .= "\"$item->{'mark'}->{'hostname'}\"|"; 59 $line .= "\"$item->{'mark'}->{'port'}\"|"; 60 $line .= "\"$item->{'nikto_id'}\"|"; 61 $line .= "\"Security Warning\"|"; 62 $line .= "\""; 63 if ($item->{'osvdb'}) { $line .= "OSVDB-$item->{'osvdb'}: " } 64 if ($item->{'method'}) { $line .= "$item->{'method'} " } 65 if ($uri) { $line .= "${'uri'}: " } 66 $line .= $item->{'message'}; 67 $line .= "\""; 68 print $handle "$line\n"; 55 $line.="results|"; 56 $line.="$network|"; 57 $line.="$item->{'mark'}->{'hostname'}|"; 58 $line.="$item->{'mark'}->{'port'}|"; 59 $line.="$item->{'nikto_id'}|"; 60 $line.="Security Warning|"; 61 if ($item->{'osvdb'}) { $line.="OSVDB-$item->{'osvdb'}: " }; 62 if ($item->{'method'}) { $line.="$item->{'method'} " }; 63 if ($uri) { $line.="${'uri'}: " }; 64 $line.=$item->{'message'}; 65 print $handle "$line\n"; 69 66 } 70 67 }
Note: See TracChangeset
for help on using the changeset viewer.