## # 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 "phpFox" authors [ "Brendan Coles ", # 2011-04-21 ] version "0.1" description "phpFox is a featured packed social networking solution that creates communities with features found on major social networking websites like Facebook and MySpace." website "http://www.phpfox.com/" # 336 for "Powered By phpFox Version" # Dorks # dorks [ '"Powered By phpFox Version"' ] # Matches # matches [ # Version Detection # Powered by text { :version=>/Powered By ]*>phpFoX<\/a> Version ([\d\.]+)/ }, { :version=>/]*>Powered by phpFoX Version ([\d\.]+)<\/a>/ }, ] # Passive # passive do m=[] # Meta Generator (is base64 of "phpFox") or Meta Author if @body =~ // or @body =~ // m << { :name=>"Meta Tags" } # Version Detection # Meta Version # base64 encoded if @body =~ // version=@body.scan(//).flatten.first m << { :version=>Base64.decode64(version).to_s } end end # phpfox(x)visit cookie if @headers["set-cookie"] =~ /phpfox[\d]visit=[\d]+;/ m << { :name=>"phpfox(x)visit cookie" } end # Return passive matches m end end