Sha256: 6e8032aaf0ae8b247cd3514db028a7daba11c6672185ffb128eba118a0de1d43
Contents?: true
Size: 682 Bytes
Versions: 7
Compression:
Stored size: 682 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::TmmDbMigrate.new( url, confidence: 100, found_by: DIRECT_ACCESS, references: { packetstorm: 131_957 } ) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems