Sha256: e1a4d621fac57fc972f83f71003f17865222eff1503c46bafe1c4e782a84849f

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 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 "TorrentFlux" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-05-13
  @version = "0.1"
  @description = "Open source PHP client for web based management of torrents. Features, downloads, forum. - http://www.torrentflux.com/"

  # Google results as at 2011-05-13 #
  # 30 for "TorrentFlux Login" intitle:TorrentFlux +Username +Password

  # ShodanHQ results as at 2011-05-13 #
  # 290 for TorrentFlux

  # Dorks #
  @dorks = [
    '"TorrentFlux Login" intitle:TorrentFlux "Username" "Password"'
  ]

  # Matches #
  @matches = [

    # Login Page # font title
    { text: '<font class="title">TorrentFlux Login</font>' },

    # Login Page # Password field
    { text: '<td><input type="password" name="iamhim" value="" size="15" style="font-family:verdana,helvetica,sans-serif; font-size:9px; color:#000" /></td>' },

  ]

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

    # TorrentFlux cookie
    m << { name: "TorrentFlux cookie" } if target.headers["set-cookie"] =~ /^TorrentFlux=[a-z\d]+; path=\//

    # Return passive matches
    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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