Sha256: aab4b367cbbd92ecc12bff0f031916b9e238a026dce7fff5e2bc8400d8aafae8

Contents?: true

Size: 704 Bytes

Versions: 6

Compression:

Stored size: 704 Bytes

Contents

# 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  <sagarjunnu@gmail.com>" # 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/litespeed.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/litespeed.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/litespeed.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/litespeed.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/litespeed.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/litespeed.rb