"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/3dcart.rb" (15 Jan 2021, 1165 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 # Version 0.3 # 2016-08-19 # "Bhavin Senjaliya <bhavin.senjaliya@gmail.com>" 
    3 # Added affiliate cookie
    4 ##
    5 # Version 0.2 Andrew Horton
    6 # Added website parameter
    7 ##
    8 # 2014-11-04 # Napz
    9 ##
   10 
   11 ##
   12 # This file is part of WhatWeb and may be subject to
   13 # redistribution and commercial restrictions. Please see the WhatWeb
   14 # web site for more information on licensing and terms of use.
   15 # https://www.morningstarsecurity.com/research/whatweb
   16 ##
   17 Plugin.define do
   18 name "3dcart"
   19 authors [
   20   "Napz <napzs@rocketmail.com>", # 2014-11-04
   21   "Andrew Horton", # v0.2 # Added website parameter. 
   22   "Bhavin Senjaliya <bhavin.senjaliya@gmail.com>", # v0.3 # 2016-08-19 # Added affiliate cookie. 
   23 ]
   24 version "0.3"
   25 description "3dcart - The 3dcart Shopping Cart Software is a complete ecommerce solution for anyone."
   26 website "http://www.3dcart.com/"
   27 
   28 # Dorks #
   29 dorks [
   30 '"powered by 3dcart"'
   31 ]
   32 
   33 # Matches #
   34 matches [
   35 
   36 # HTML Comment
   37 { :text=>'<!--START: 3dcart stats-->' },
   38 
   39 { :text=>'<!--END: 3dcart stats-->' },
   40 
   41 { :search=>"headers[set-cookie]", :regexp=>/3dvisit/ },
   42 
   43 { :search => "headers[set-cookie]", :regexp => /^affiliate\s/, :name=>"affiliate cookie", :certainty => 25 },
   44 
   45 ]
   46 
   47 end