File: phpDocumentor.rb

package info (click to toggle)
whatweb 0.4.8~git20120606-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,956 kB
  • sloc: ruby: 53,738; sh: 577; makefile: 34
file content (64 lines) | stat: -rw-r--r-- 2,335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
##
# 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
##
Plugin.define "phpDocumentor" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-05-20
version "0.1"
description "phpDocumentor, sometimes referred to as phpdoc or phpdocu, is the current standard auto-documentation tool for the php language. Similar to Javadoc, and written in php, phpDocumentor can be used from the command line or a web interface to create professional documentation from php source code."

# Google results as at 2011-05-20 #
# 10 for intitle:"docBuilder - phpDocumentor web interface"
#  8 for intitle:"docBuilder - phpDocumentor web interface" -svn

# Dorks #
dorks [
'intitle:"docBuilder - phpDocumentor web interface"'
]

# Examples #
examples %w|
demos.softaculous.com/phpDocumentor/
phpdocs.dangerous-minds.net/
dev.pistoke.org/PhpDocumentor/
phpdoc.gkirok.com/docbuilder/
acfcarlosgomes.com.br/acf/libs/pear/data/PhpDocumentor/
www.dubai-holiday-dreams.com/fileadmin/PhpDocumentor/
devel.orcoz.com/phpdoc/PhpDocumentor-1.4.2/
serpan.de/PhpDocumentor-1.4.2/
|

# Matches #
matches [

# Default title
{ :certainty=>75, :text=>'<title>docBuilder - phpDocumentor web interface</title>' },

# Frameset # Meta Description
# Note the "phpDcoumentor" typo # several websites used this meta description
# It does not seem to be unique to a particular version
{ :text=>'<meta name="Description" content="Frameset for phpDcoumentor docBuilder web interface">' },

# Frameset # Meta Description
{ :text=>'<meta name="Description" content="Frameset for phpDocumentor docBuilder web interface">' },

# docbuilder/actions.php # extract local file path
{ :filepath=>/<input type="text" name="fileName" value="([^"]+)" size="60" class="text" \/>/ },

# docbuilder/config.php # Version Detection # title
{ :version=>/	<title>\n		Form to submit to phpDocumentor v([^\s]+)	<\/title>/ },

# docbuilder/top.php # Version Detection
{ :version=>/<span class="title"><strong>docBuilder<\/strong> :: phpDocumentor v([^\s]+) Web Interface<\/span>/ },

]

end

# An aggressive plugin could use:
#	docbuilder/actions.php
#	docbuilder/config.php
# for version and local file path detection