Sha256: 664c711839e23892e626be326c66d65845c00417193bb94cc45f96ca57fe6904

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 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 "SimpleTech-SimpleShare-NAS" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-11-01
  @version = "0.1"
  @description = "Whether it's photos and music, or business presentations and financial data, your files are valuable and must be kept safe, accessible and easily shared with others. SimpleShare Network Attached Storage enables you to do it all."
  @website = "http://www.simpleshare.com/"
  # Default login: admin/simple

  # 21 ShodanHQ results for WWW-Authenticate: Basic realm="SimpleShare (default user name is admin and password is simple)"

  # Passive #
  def passive(target)
    m = []

    # Check Server
    if /httpd/.match?(target.headers["server"])

      # SimpleShare WWW-Authenticate Realm
      m << { status: 401, name: "SimpleShare WWW-Authenticate Realm" } if target.headers["www-authenticate"] =~ /Basic realm="SimpleShare \(default user name is admin and password is simple\)"/

    end

    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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