lib/scanner/plugins/http/directory_search.rb in yawast-0.5.0.beta6 vs lib/scanner/plugins/http/directory_search.rb in yawast-0.5.0.beta7

- old
+ new

@@ -94,10 +94,12 @@ load_queue uri if @recursive elsif res.code == '301' && @list_redirects @results.push "\tFound Redirect: '#{uri} -> '#{res['Location']}'" end rescue => e - Yawast::Utilities.puts_error "Error searching for directories (#{e.message})" + unless e.message.include?('end of file') || e.message.include?('getaddrinfo') + Yawast::Utilities.puts_error "Error searching for directory '#{uri.path}' (#{e.message})" + end end end end end end