"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/aidex-webserver.rb" (15 Jan 2021, 1084 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 "AIDeX-Webserver"
    9 authors [
   10   "Brendan Coles <bcoles@gmail.com>", # 2011-08-29
   11 ]
   12 version "0.1"
   13 description "AIDeX Webserver - does not support CGI or PHP"
   14 website "http://www.aidex.de/software/webserver/"
   15 
   16 # ShodanHQ results as at 2011-08-29 #
   17 # 272 for aidex
   18 
   19 # Google results as at 2011-08-29 #
   20 # 29 for intitle:"Directory Listing" +"Directory Listing" +"Powered by AIDeX Webserver"
   21 
   22 # Dorks #
   23 dorks [
   24 'intitle:"Directory Listing" "Directory Listing" "Powered by AIDeX Webserver"'
   25 ]
   26 
   27 
   28 
   29 # Matches #
   30 matches [
   31 
   32 # Version Detection # HTTP Server Header
   33 { :search=>"headers[server]", :version=>/^aidex\/([^\s]+)/ },
   34 
   35 # Directory Listing # Powered by text
   36 { :text=>'<br><small>Powered by <a href="http://www.aidex.de/software/webserver/" target="_blank">AIDeX Webserver</a></small></div></div><br><br><br>' },
   37 
   38 ]
   39 
   40 end
   41