# 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 "SX-Webserver" do @author = "Brendan Coles " # 2011-03-06 @version = "0.1" @description = "SX-Webserver - a simple tcp socket web server - coded by: neotek of soldierx.com" # Matches # @matches = [ # HTTP Status Codes # 1.0 # Malformed HTML { status: 400, text: "

Error 400

The server couldn't understand your request.\r\n" }, { status: 403, text: "

Error 403

Forbidden.\r\n" }, { status: 404, text: "

Error 404

Document not found.\r\n" }, { status: 500, text: "

Error 500

The server encountered an unexpected condition which prevented it from fulfilling the request.\r\n" }, { status: 501, text: "

Error 501

This feature is not implemented.\r\n" }, { status: 505, text: "

Error 505

HTTP Version not supported. This server supports HTTP 1.0 and HTTP 1.1.\r\n" }, # Version Detection { search: "headers[server]", version: /^SX Webserver ([\d\.]{1,5})/ }, ] end