Sha256: 92c2cca13171bf79e0cfa303fb6ad4508845cefdb27a496a5fb0582994d0cd3c

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

Contents

# 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
##
# Version 0.2 #
# Updated version detection and regex
##
WhatWeb::Plugin.define "Arab-Portal" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-07-25
  @version = "0.2"
  @description = "Arab-Portal"

  # Dorks #
  @dorks = [
    '"powered by Arab Portal" -exploit'
  ]

  # 308 results for "powered by Arab Portal" -exploit @ 2010-07-25

  @matches = [

    # Meta copyright
    { regexp: /<META NAME="COPYRIGHT" CONTENT="Copyright[^\>]*by Arab[\s]*Portal"/ },

    # Version detection # Meta Copyright
    { version: /<META content="[^>]*Powered by: Arab Portal v([\d\.]+), Copyright[^>]*" name="description">/ },

    # Version detection # Powered by text
    { version: /<center><font size=2>Powered by: Arab[\s]*Portal v([\d\.]+)[\s]*, Copyright/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/arab-portal.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/arab-portal.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/arab-portal.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/arab-portal.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/arab-portal.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/arab-portal.rb