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
|
##
# 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
##
# Version 0.3 # 2011-02-25 #
# Updated OS detection
##
# Version 0.2 #
# Updated version detection. Added OS extraction.
##
Plugin.define "phpSysInfo" do
author "Brendan Coles <bcoles@gmail.com>" # 2010-06-12
version "0.3"
description "PHPSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. It will display information about system facts like Uptime, CPU, Memory, PCI devices, SCSI devices, IDE devices, Network adapters, Disk usage, and more. - homepage:http://phpsysinfo.sourceforge.net/"
# Google results as at 2010-06-09 #
# 16,400 for "Created by phpSysInfo"
# Examples #
examples %w|
phpsysinfo.sourceforge.net/phpsysinfo/
fountainalleylofts.com
www.sanjoseurbanliving.com
www.japantownliving.com
www.sanjoseurban.com
oneeastjulian.com
paloaltolofts.com
www.thewalnutfactorylofts.com
www.plant51lofts.com
sunnyvalelofts.com
gothenburg.homelinux.com/phpsysinfo/
sys.onzin.org
www.rob-smith.co.uk/phpsysinfo/
www.invinciblehost.com/phpSysInfo/
www.viperxx.net/phpsysinfo/
coreybarker.net/phpsysinfo/
www.rserve.biz/phpsysinfo/
www.pinakothek.de/phpsysinfo/
www.lnxgeek.com/phpsysinfo/
tacanahosting.com/phpsysinfo/
http://www.leadingit.net/phpsysinfo/
https://grosjo.net/sysinfo/
hm1.hostpeek.com/phpsysinfo/
www.bartbaars.nl/phpsysinfo/
www.resellerdomain.org/status/phpsysinfo/
vdr.qlex.org
whizzcats.com/sysinfo/
protcluster.biotec.or.th/phpSysInfo/
cbrc.musc.edu/phpSysInfo/
|
# Matches #
matches [
# GHDB Match
{ :ghdb=>'"Created by phpSysInfo"', :certainty=>25 },
# Redirect page # Default JavaScript
{ :text=>'var sTargetURL = "index.php?disp=dynamic";' },
# Version detection # Redirect page # Generated by text
{ :version=>/Generated by[\s ]*<a href="http:\/\/phpsysinfo.sourceforge.net[^>]*>[\s ]*phpSysInfo[\s ]*-[\s ]*([^<]+)<\/a>/ },
# Version detection # Redirect page # Created by text
{ :version=>/Created by[\s ]*<a href="http:\/\/phpsysinfo.sourceforge.net[^>]*>[\s ]*phpSysInfo[\s ]*-[\s ]*([^<]+)<\/a>/ },
# Version detection # index.php?disp=static # Created by text
{ :version=>/<span>Created by <\/span><a href="http:\/\/phpsysinfo.sourceforge.net\/"><span>phpSysInfo - <\/span><span>([^<]+)<\/span>/ },
# Operating System Kernel Version Detection # phpSysInfo 3.x # index.php?disp=static
{ :os=>/<td style="width:160px; "><span>Kernel Version<\/span><\/td><td>([^<]+)<\/td><\/tr>/ },
# Operating System Detection # index.php?disp=static
{ :os=>/<td valign="top"><font size="-1">Distro Name<\/font><\/td>[\r\n\s]*<td><img[^>]+>[\s ]*<font size="-1">([^<]+)<\/font><\/td>/ },
# Operating System Kernel Version Detection # index.php?disp=static
{ :os=>/<td valign="top"><font size="-1">Kernel Version<\/font><\/td>[\r\n\s]*<td><font size="-1">([^<]+)<\/font><\/td>/ },
]
end
|