lib/cms_scanner/finders/finder.rb in cms_scanner-0.0.39.4 vs lib/cms_scanner/finders/finder.rb in cms_scanner-0.0.40

- old
+ new

@@ -1,8 +1,9 @@ require 'cms_scanner/finders/finder/smart_url_checker' require 'cms_scanner/finders/finder/enumerator' require 'cms_scanner/finders/finder/fingerprinter' +require 'cms_scanner/finders/finder/breadth_first_dictionary_attack' module CMSScanner module Finders # Finder class Finder @@ -30,12 +31,12 @@ # @option opts [ Boolean ] :show_progression # # @return [ ProgressBar::Base ] def create_progress_bar(opts = {}) bar_opts = { format: '%t %a <%B> (%c / %C) %P%% %e' } - bar_opts[:output] = ProgressBar::Outputs::Null unless opts[:show_progression] + bar_opts[:output] = ProgressBarNullOutput unless opts[:show_progression] - @progress_bar = ProgressBar.create(bar_opts.merge(opts)) + @progress_bar = ::ProgressBar.create(bar_opts.merge(opts)) end # @return [ Browser ] def browser @browser ||= NS::Browser.instance