File: WHMCS.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 (86 lines) | stat: -rw-r--r-- 3,467 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
##
# 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 "WHMCS" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-08-25
version "0.1"
description "WHMCS is an all-in-one client management, billing & support solution for online businesses. - Homepage: http://www.whmcs.com/"

# Google results as at 2011-08-25 #
# 595 for "Powered by WHMCompleteSolution" inurl:cart.php +Language
# 163 for intitle:"WHMCS Complete Billing & Support System - Login" "Remember me until I logout"
#  47 for intitle:"WHMCS Mobile Edition" +Home +Clients +Tickets +Orders +Activity +Logout +Version

# Dorks #
dorks [
'"Powered by WHMCompleteSolution" inurl:cart.php "Language"',
'intitle:"WHMCS Complete Billing & Support System - Login" "Remember me until I logout"'
]

# Examples #
examples %w|
demo.whmcs.com
demo.whmcs.com/admin/
demo.whmcs.com/mobile/
central.fix.com.br/mobile/
guru-host.eu/client/mobile/
www.savont.com.au/whmcs/mobile/
pcontrol.ibericahost.com/mobile/
www.hostifex.com/clientes/mobile/
www.clients.techgoofhosting.info/whmcs/cart.php
www.webtechnos.net/billing/cart.php
https://www.domainname.com/cart.php
https://secure.cpcustomer.com/cart.php
www.erbwebsolutions.com/clients/cart.php
https://x9hosting.com/portal/cart.php
clients.freecpanelhost.co/cart.php
clients.profitsender.com/cart.php
www.webbyctrl.net/billing/cart.php
https://www.t-rex.net.in/secure/cart.php
clients.budgethost.ca/cart.php
https://billing.theweb-factory.com/cart.php
billing.boxslots.com/cart.php
https://billing.corong.com/cart.php
https://billing.hostmonsterz.info/cart.php
https://billing.4java.ca/cart.php
https://secure.instavps.com/billing/cart.php
https://clients.rocksolidsystems.com/cart.php
lvpshosting.com/whmcs/cart.php
www.superspecialservers.com/cart.php
www.mycpanel.co.uk/panel/cart.php
https://www.adda-host.com/desk/cart.php
www.carmelbaird.com/whmcs/cart.php
https://billing.gigatux.com/cart.php
https://www.beastserv.com/cart.php
billing.xenserv.com/cart.php
billing.tnnhost.com/admin/login.php
billing.softcloud.co.uk/admin/
|

# Matches #
matches [

# Powered by link
{ :text=>'<p align="center">Powered by <a href="http://www.whmcs.com/" target="_blank">WHMCompleteSolution</a></p>' },

# Login Page # Powered by link
{ :text=>'<td align="right" valign="middle">Powered by <a href="http://www.whmcs.com/" target="_blank">WHMCS</a></td>' },

# Login + Register links HTML
{ :text=>'<div id="welcome_box">Please <a href="clientarea.php" title="Login"><strong>Login</strong></a> or <a href="register.php" title="Register"><strong>Register</strong></a></div>' },

# Version Detection # Mobile Login Page # Footer
{ :version=>/<tr><td bgcolor="#efefef" height="20" align="center"><a href="index\.php">Home<\/a> \| <a href="clients\.php">Clients<\/a> \| <a href="supporttickets\.php">Tickets<\/a> \| <a href="orders\.php">Orders<\/a> \| <a href="activitylog\.php">Activity<\/a> \| <a href="logout\.php">Logout<\/a><\/td><\/tr>[\s]+<tr><td align="center">[^,^\s]+, [^<]+<br \/>Version: ([^<^\s]+)<\/td><\/tr>/ },

# License Error Page # Change license key link
{ :text=>'<p>Got a new license key?  <a href="licenseerror.php?licenseerror=change">Click here to enter it</a></p>' },

]

# An aggressive plugin could retrieve the version from ./mobile/login.php #

end