Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wpscanteam
GitHub Repository: wpscanteam/wpscan
Path: blob/master/app/finders/config_backups.rb
485 views
1
# frozen_string_literal: true
2
3
require_relative 'config_backups/known_filenames'
4
5
module WPScan
6
module Finders
7
module ConfigBackups
8
# Config Backup Finder
9
class Base
10
include CMSScanner::Finders::SameTypeFinder
11
12
# @param [ WPScan::Target ] target
13
def initialize(target)
14
finders << ConfigBackups::KnownFilenames.new(target)
15
end
16
end
17
end
18
end
19
end
20
21