# 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 ## WhatWeb::Plugin.define "Nucleus" do @author = "Brendan Coles " # 2010-10-26 @version = "0.1" @description = "Nucleus Webserver" # About 146037 ShodanHQ results for "server: Nucleus" @ 2010-10-26 # HTTP Header def passive(target) m = [] # Server m << { version: target.headers["server"].to_s.scan(/^[\s]*Nucleus\/([^\s^\r^\n]+)/i).flatten } if target.headers["server"].to_s =~ /^[\s]*Nucleus\/([^\s^\r^\n]+)/i m end end