forked from urbanadventurer/WhatWeb
/
MGB-OpenSource-Guestbook.rb
48 lines (37 loc) · 1.45 KB
/
MGB-OpenSource-Guestbook.rb
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
##
# 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 "MGB-OpenSource-Guestbook" do
author "Brendan Coles <bcoles@gmail.com>" # 2012-07-22
version "0.1"
description "MGB OpenSource Guestbook - Homepage: http://www.m-gb.org/"
# Google results as at 2012-07-22 #
# 57 for 'inurl:"mgb/index.php?p="'
# Dorks #
dorks [
'inurl:"mgb/index.php?p="'
]
# Examples #
examples %w|
www.cassandradiefrisoerin.de/mgb/index.php?p=17
dsedens.com/mgb/index.php?p=2
www.knaben-hcw.de/mgb/index.php?p=42
www.jetlac.de/mgb/index.php?p=47
www.oi-thenische.de/oithenische/mgb/index.php?p=85
bakonyivendeghaz.hu/mgb/index.php?p=38
|
# Matches #
matches [
# Meta Copyright # Year Detection
{ :string=>/<meta name="copyright" content="MGB OpenSource Guestbook \(C\) Copyright 2004-(20[\d]{2}) by http:\/\/www\.m\-gb\.org\/">/ },
# HTML Comment
{ :text=>'<!-- If you want to remove this copyright you can do so. But it took and already takes a lot of time to code all this stuff.' },
# td class="entry_info"
{ :text=>'<td class="entry_info" colspan="3"><a href="email.php?id=denied">' },
# Footer # Year Detection
{ :string=>/<span class="copyright"><a href="http:\/\/www\.m\-gb\.org\/" title="MGB Homepage" target="_blank">MGB OpenSource Guestbook<\/a> © 2004-(20[\d]{2})<br>/ },
]
end