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