Class: WPScan::Finders::InterestingFindings::Base
- Inherits:
-
Object
- Object
- WPScan::Finders::InterestingFindings::Base
- Includes:
- WPScan::Finders::IndependentFinder
- Defined in:
- app/finders/interesting_findings.rb
Overview
Interesting Files Finder (base + WordPress-specific finders).
Instance Method Summary collapse
-
#initialize(target) ⇒ Base
constructor
A new instance of Base.
Methods included from WPScan::Finders::IndependentFinder
Constructor Details
#initialize(target) ⇒ Base
Returns a new instance of Base.
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'app/finders/interesting_findings.rb', line 31 def initialize(target) %w[Headers RobotsTxt FantasticoFileslist SearchReplaceDB2 XMLRPC].each do |f| finders << WPScan::Finders::InterestingFindings.const_get(f).new(target) end %w[ Readme DebugLog FullPathDisclosure BackupDB DuplicatorInstallerLog Multisite MuPlugins Registration UploadDirectoryListing TmmDbMigrate UploadSQLDump EmergencyPwdResetScript WPCron PHPDisabled ].each do |f| finders << WPScan::Finders::InterestingFindings.const_get(f).new(target) end end |