Sha256: 2fd46376227fb125f2af5e80cfab73732b1dffa7a03bc24ffb44c2ca7c864748

Contents?: true

Size: 688 Bytes

Versions: 15

Compression:

Stored size: 688 Bytes

Contents

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.get(url)

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

          WPScan::InterestingFinding.new(
            url,
            confidence: 100,
            found_by: DIRECT_ACCESS,
            references: { packetstorm: 131_957 }
          )
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wpscan-3.3.2 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.3.1 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.3.0 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.2.1 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.2.0 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.1.0 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0.8 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0.7 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0.6 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0.5 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0.4 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0.3 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0.2 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0.1 app/finders/interesting_findings/tmm_db_migrate.rb
wpscan-3.0 app/finders/interesting_findings/tmm_db_migrate.rb