mirror of
https://github.com/urbanadventurer/WhatWeb
synced 2026-06-21 14:12:19 +00:00
31 lines
911 B
Ruby
31 lines
911 B
Ruby
##
|
|
# 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.
|
|
# https://morningstarsecurity.com/research/whatweb
|
|
##
|
|
Plugin.define do
|
|
name "php-ping"
|
|
authors [
|
|
"Brendan Coles <bcoles@gmail.com>", # 2010-06-13
|
|
# v0.2 # Updated regex.
|
|
]
|
|
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
|
|
|