lib/scanner/plugins/http/file_presence.rb in yawast-0.6.0 vs lib/scanner/plugins/http/file_presence.rb in yawast-0.7.0.beta1

- old
+ new

@@ -161,9 +161,10 @@ begin res = Yawast::Shared::Http.head uri if res.code == '200' @results.push "'#{uri.path}' found: #{uri}" + Yawast::Shared::Output.log_append_value 'http', 'http_file', uri end rescue => e unless e.message.include?('end of file') || e.message.include?('getaddrinfo') Yawast::Utilities.puts_error "Error searching for file '#{uri.path}' (#{e.message})" end