Changeset 176
- Timestamp:
- 10/16/2009 09:11:49 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/plugins/nikto_core.plugin (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/nikto_core.plugin
r165 r176 22 22 # Nikto core functionality 23 23 ############################################################################### 24 25 24 sub change_variables 26 25 { … … 96 95 # print errors to STDERR 97 96 if ($line =~ /ERROR\:/) { print STDERR "$line\n"; return; } 97 98 # don't print to STDOUT if output file is "-" 99 if ($CLI{format} =~ /^xml$/i and $CLI{file} eq "-") { return; } 100 101 # don't print to STDOUT if output file is "-" 102 if ($CLI{format} =~ /^html?$/i and $CLI{file} eq "-") { return; } 103 98 104 99 105 # print to scan details to standard output if the users wants another format and is saving results to a file
Note: See TracChangeset
for help on using the changeset viewer.