Files
2019-06-10 09:51:32 +10:00

31 lines
668 B
Ruby

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