forked from urbanadventurer/WhatWeb
/
MySQLMan.rb
41 lines (32 loc) · 1.16 KB
/
MySQLMan.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
##
# 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 "MySQLMan" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-09-21
version "0.1"
description "MySQLMan is a web based MySQL database manager. - Homepage: http://www.gossamer-threads.com/products/archive.html"
# Google results as at 2011-09-21 #
# 8 for inurl:"mysql.cgi?do="
# Dorks #
dorks [
'inurl:"mysql.cgi?do="'
]
# Examples #
examples %w|
trinitywheeleronline.com/cgi-bin/dbman/mysql.cgi
eriu.homeip.net/cgi-bin/mysqlman/mysql.cgi
rio70.com.mx/cgi-bin/sql/mysql.cgi
www.praisenpray.com/cgi-bin/mysqlman/mysql.cgi
www.diversity-radio.net/cgi/mysqlman-1.09/mysql.cgi
|
# Matches #
matches [
# Create Link
{ :text=>'| <A href="mysql.cgi?do=top_level_op&data_source=&action=create_db">Create</A>' },
# Version Detection # Powered by link
{ :version=>/<p align="right"><a href="http:\/\/www\.gossamer-threads\.com\/scripts\/"><font face="Verdana, Arial, Helvetica" size="1">MySQLMan[\s]+v\. ([^\s^<]+)<br>/ },
]
end