lib/cms_scanner/finders/finder.rb in cms_scanner-0.0.41.10 vs lib/cms_scanner/finders/finder.rb in cms_scanner-0.0.42.0
- old
+ new
@@ -1,15 +1,17 @@
+# frozen_string_literal: true
+
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
# Constants for common found_by
- DIRECT_ACCESS = 'Direct Access (Aggressive Detection)'.freeze
+ DIRECT_ACCESS = 'Direct Access (Aggressive Detection)'
attr_accessor :target, :progress_bar
def initialize(target)
@target = target