# frozen_string_literal: true ## # This file is part of WhatWeb and may be subject to # redistribution and commercial restrictions. Please see the WhatWeb # web site for more information on licensing and terms of use. # http://www.morningstarsecurity.com/research/whatweb ## WhatWeb::Plugin.define "Magento" do @author = "Andrew Horton" @version = "0.1" @description = "Opensource ecommerce platform written in PHP" @website = "http://www.magentocommerce.com" @dorks = [ 'Magento is a trademark of Magento Inc. Copyright" "admin"', 'intitle:"Magento Downloader" "Report All Bugs"' ] @matches = [ # default logo { text: 'images/logo.gif" alt="Magento Commerce" />', name: 'default logo alt-text' }, # version detection { version: %r{Report All Bugs \((Magento Connect Manager |Downloader )?ver. ([0-9\.]+)\)}, offset: 1 }, # StyleSheet { regexp: %r{' }, # Search form { text: "var searchForm = new Varien.searchForm('search_mini_form', 'search', '" }, { text: ',mage/cookies.js" >' }, # NoScript { regexp: /
You must have JavaScript enabled in your browser to utilize the functionality of this website.
}, name: 'JavaScript disabled warning' }, # Admin interface { url: '/admin', text: '