# 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 "LiteSpeed" do @author = "Sagar Prakash Junnarkar " # 2012-11-09" @version = "1.0" @description = "LiteSpeed web server, which is able to read Apache configuration directly and used together with web hosting control panels by replacing Apache" def passive(target) m = [] m << { name: "LiteSpeed server" } if target.headers["server"] =~ /LiteSpeed/i m end end