# frozen_string_literal: true ## # 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.4 # 2011-03-06 # Brendan Coles # Updated module detection ## # Version 0.3 # uses :module ## # Version 0.2 # remove :certainty ## WhatWeb::Plugin.define "PHPNuke" do @author = "Andrew Horton" @version = "0.4" @description = "PHP-Nuke is a free CMS" @website = "phpnuke.org. The plugin passively recognises modules. An obvious improvement would be to aggresively discover modules and discover the phpnuke version" # Google results as at 2011-03-06 # # 497 for allinurl:"modules.php?name=Your_Account" # 305 for "powered by phpnuke" # 88 for allinurl:phpnuke/modules.php?name=Search # Matches # @matches = [ { name: "meta generator tag with PHP-Nuke", regexp: /" }, # this also appears in DotNetNuke { certainty: 25, text: "" }, { certainty: 75, text: "" }, { name: "Feedback link", certainty: 75, text: "Feedback" }, { name: "modules.php?name links", certainty: 25, regexp: // }, { name: "engine code is copyright of PHP-Nuke", text: "" }, # Module Detection { certainty: 75, module: // }, ] end