Sha256: d8cf0a3a9979e7ee52ba543f072200ed13f3d992813fcf4300efff3cc72bb960

Contents?: true

Size: 1.38 KB

Versions: 6

Compression:

Stored size: 1.38 KB

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 "Sawmill" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-03-20
  @version = "0.1"
  @description = "Sawmill is a universal log analysis/reporting tool for almost any log including web, media, email, security, network and application logs."
  @website = "http://www.sawmill.net/"

  # ShodanHQ results as at 2012-03-20 #
  # 130 for Sawmill

  # Google results as at 2012-03-20 #
  # 7 for intitle:"Sawmill Login" "Sawmill Login" "Please enter your username and password."

  # Dorks #
  @dorks = [
    'intitle:"Sawmill Login" "Sawmill Login" "Please enter your username and password."'
  ]

  # Matches #
  @matches = [

    # Old Versions # <=6.x ???
    { regexp: /<tr><td>Username:<\/td><td>Administrator<input type="hidden" name="cgionly_authentication_username" value="([^\"]+)"><\/td><\/tr>/ },

    # New Versions # >=7.x ???
    { text: '<td><input id="password" class="username-psw text" type="password" value="" /><div id="password:error" class="form-error"></div></td>' },

    # Version Detection # HTTP Server Header
    { search: "headers[server]", version: /^Sawmill\/([^\s]+)/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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