Sha256: 897a79a3a02ad8d227fe46b7f2b2067ad873698a23a2948d5459fe3e90b382ed

Contents?: true

Size: 752 Bytes

Versions: 6

Compression:

Stored size: 752 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 "uTorrent" do
  @author = "Andrew Horton"
  @version = "0.1"
  @description = "The uTorrent GUI is a web interface to the uTorrent BitTorrent client"
  @website = "https://web.utorrent.com/"

  # Passive #
  def passive(target)
    m = []
    m << { name: "Page body is 'invalid request'" } if target.body == "invalid request"
    m << { name: 'Basic realm="uTorrent"' } if target.headers['www-authenticate'] == 'Basic realm="uTorrent"'
    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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