Sha256: bf47021ae960fded6ea34f61203b58580cfa5d7901c7cece888af5b943fe561a

Contents?: true

Size: 1018 Bytes

Versions: 6

Compression:

Stored size: 1018 Bytes

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
##
WhatWeb::Plugin.define "phpPgAdmin" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-06-14
  @version = "0.1"
  @description = "phpPgAdmin is a web-based administration tool for PostgreSQL. It is perfect for PostgreSQL DBAs, newbies and hosting services"
  @website = "http://phppgadmin.sourceforge.net/"
  # Source: https://github.com/xzilla/phppgadmin

  # Dorks #
  @dorks = [
    'inurl:"phppgadmin/intro.php"'
  ]

  # Matches #
  @matches = [

    { name: "PPA_ID Cookie", search: "headers[set-cookie]", regexp: /^PPA_ID=[a-z0-9]+/ },

    # intro.php
    { text: '<td><span class="appname">phpPgAdmin</span></td>' },
    { version: %r{<span class="appname">phpPgAdmin</span> <span class="version">([\d\.]+)</span>} },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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