Sha256: b7de22f291c332413185321067153ece1db407b6d2a1e4ca7e0ca91ac5dff116

Contents?: true

Size: 663 Bytes

Versions: 30

Compression:

Stored size: 663 Bytes

Contents

# frozen_string_literal: true

module WPScan
  module Finders
    module InterestingFindings
      # Tmm DB Migrate finder
      class TmmDbMigrate < CMSScanner::Finders::Finder
        # @return [ InterestingFinding ]
        def aggressive(_opts = {})
          path = 'wp-content/uploads/tmm_db_migrate/tmm_db_migrate.zip'
          url  = target.url(path)
          res  = browser.forge_request(url, target.head_or_get_request_params).run

          return unless res.code == 200 && res.headers['Content-Type'] =~ %r{\Aapplication/zip}i

          Model::TmmDbMigrate.new(url, confidence: 100, found_by: DIRECT_ACCESS)
        end
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
wpscan-3.8.28 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.27 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.26 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.25 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.24 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.22 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.21 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.20 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.19 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.18 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.17 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.16 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.15 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.14 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.13 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.12 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.11 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.10 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.9 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.8.8 app/finders/interesting_findings/tmm_db_migrate.rb