PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/plugins/php-link-directory.rb

https://github.com/eliasdorneles/WhatWeb
Ruby | 58 lines | 35 code | 9 blank | 14 comment | 0 complexity | c287f3c45f901ad14d44303ae3730182 MD5 | raw file
 1##
 2# This file is part of WhatWeb and may be subject to
 3# redistribution and commercial restrictions. Please see the WhatWeb
 4# web site for more information on licensing and terms of use.
 5# http://www.morningstarsecurity.com/research/whatweb
 6##
 7# Version 0.2 #
 8# Fixed regex
 9##
10Plugin.define "PHP-Link-Directory" do
11author "Brendan Coles <bcoles@gmail.com>" # 2010-06-13 
12version "0.2"
13description "phpLD is the most widely used directory script on the internet, installed on over 100,000 websites. phpLD is a great addition to any site, and is easy to install. - homepage: http://www.phplinkdirectory.com/"
14
15# 186 results for "powered by phpLinkDirectory" @ 2010-08-07
16
17# Dorks #
18dorks [
19'"powered by phpLinkDirectory"'
20]
21
22# Examples #
23examples %w|
24www.inclusio.com
25pornocms.com
26www.londovor.com
27www.travel247365.com
28myworlddirectory.com
29www.ultradirectory.net
30www.link-collections.info
31www.summerdirectory.info
32www.dawnlink.info
33www.knifedirectory.info
34shrateralliance.com
35www.gardenwebdirectory.com
36highriselinks.info
37www.drinksdirectory.info
38www.hitchfifty.com
39www.hitslive.info
40indian-links.com
41www.addmylinkfree.com
42www.vipdirectory.com.ar
43www.europelink.info
44|
45
46matches [
47
48# Powered by text
49{ :ghdb=>'"powered by phpLinkDirectory"', :certainty=>25 },
50{ :regexp=>/<a href="http:\/\/www.phplinkdirectory.com[^>]*Phplinkdirectory/i },
51
52# Version detection # Meta generator
53{ :version=>/<meta name="generator"[^>]*content="PHP Link Directory ([0-9\.]+)"/ },
54
55]
56
57end
58