"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/adobe-experience-manager.rb" (15 Jan 2021, 1897 Bytes) of package /linux/www/WhatWeb-0.5.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 ##
    2 # This file is part of WhatWeb and may be subject to
    3 # redistribution and commercial restrictions. Please see the WhatWeb
    4 # web site for more information on licensing and terms of use.
    5 # https://www.morningstarsecurity.com/research/whatweb
    6 ##
    7 Plugin.define do
    8 name "Adobe-Experience-Manager"
    9 authors [
   10   "Chad Brigance @ChadBrigance","wh1tenoise @wh1tenoise2"
   11 ]
   12 version "0.1"
   13 description "Adobe Experience Manager is an enterprise Content Management System (CMS) by Adobe."
   14 website "https://www.adobe.com/marketing/experience-manager.html"
   15 
   16 #examples %w| #https://www.adobe.com/ |
   17 
   18 #def passive
   19 
   20 # Dorks #
   21 
   22 # Borrowing from AEM-dicovery.py
   23 # https://github.com/0ang3el/aem-hacker/blob/master/LICENSE.txt
   24 # def by_login_page(base_url, debug, proxy=None):
   25 dorks [
   26   'inurl:/libs/granite/core/content/login.html "Welcome to Adobe Experience Manager"'
   27 ]
   28 
   29 # Matches #
   30 matches [
   31  
   32   # HTML
   33 
   34   # Borrowing from Wappalyzer (MIT License)
   35   # https://github.com/AliasIO/wappalyzer/blob/master/LICENSE
   36   # "html": [
   37   #      "<div class=\"[^\"]*parbase",
   38   #      "<div[^>]+data-component-path=\"[^\"+]jcr:",
   39   #      "<div class=\"[^\"]*aem-Grid"
   40   {:name=>"div class parbase", :regexp=>/<div class=\"[^\"]*parbase/},
   41   {:name=>"div data-component-path jcr", :regexp=>/<div[^>]+data-component-path=\"[^\"+]jcr:/},
   42   {:name=>"div class aem-Grid", :regexp=>/<div class=\"[^\"]*aem-Grid/},
   43   
   44   # Scripts 
   45   
   46   # Borrowing from Wappalyzer (MIT License)
   47   # https://github.com/AliasIO/wappalyzer/blob/master/LICENSE
   48   {:name=>"/etc/designs/", :regexp=>/<script type="text\/javascript" src="\/etc\/designs\//},
   49   {:name=>"/etc/clientlibs/", :regexp=>/<script type="text\/javascript" src="\/etc\/clientlibs\//},
   50   {:name=>"/etc.clientlibs/", :regexp=>/<script type="text\/javascript" src="\/etc\.clientlibs\//},
   51 
   52 ]
   53 
   54 #end
   55 # Aggressive #
   56 # Not implemented yet... but aem-hacker has a great list of checks.
   57 
   58 
   59 end