Sha256: 41fcc07bcf04a1c23a8fb0243cf6e8c02faefa561d6e4d8c2ad955d6b078c766

Contents?: true

Size: 983 Bytes

Versions: 6

Compression:

Stored size: 983 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
##
# Version 0.2 #
# Updated regex
##
WhatWeb::Plugin.define "php-ping" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-06-13
  @version = "0.2"
  @description = "php-ping - PHP powered ping web interface."

  # About 184 results for "Enter ip" inurl:"php-ping.php" @ 2010-06-13

  @matches = [

    # GHDB Match
    { ghdb: '"Enter ip" inurl:"php-ping.php"', certainty: 75 },

    # Default form HTML
    { regexp: /<form methode="post" action="[^>]*>[\s]*Enter IP or Host[^<]*<[^<]*type="text" name="host" value="[\d\.]*"><\/input>[\s]*Enter Count[^>]*name="count" size="2" value="4"><\/input>[^>]*[\s]*<input type="submit"[^>]*name="submit" value="Ping!"><\/input><\/form><br><b><\/b>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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