forked from urbanadventurer/WhatWeb
/
car-portal.rb
42 lines (31 loc) · 1.15 KB
/
car-portal.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
##
# 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://www.morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "Car-Portal"
authors [
"Brendan Coles <bcoles@gmail.com>", # 2012-04-30
]
version "0.1"
description "Car Portal is a powerful, professional looking and easy customizable php script for running auto classieds websites."
website "http://www.netartmedia.net/carsportal"
# Google results as at 2012-04-30 #
# 34 for "Powered by Car Portal" "Frequently asked questions"
# 8 for inurl:"cars/admin/index.php"
# Dorks #
dorks [
'"Powered by Car Portal" "Frequently asked questions"'
]
# Matches #
matches [
# Search Button
{ :text=>'<div onmousedown="javascript:gSubmitForm()" class="main_form_search_button">SEARCH</div>' },
# Powered by link
{ :text=>'Powered by <a href="http://www.netartmedia.net/carsportal">Car Portal</a>' },
# ./cars/admin/admin.php # Admin Page # Version Detection
{ :version=>/<TD bgcolor="#000000" class="bodyfontwhite"><strong> Car Script v([^\s]+) by<br>/ },
]
end