Sha256: e8c77e70b9bdefe8f7d433326bab1dff13b036e8f5dd39feed19f22159644f57

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 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 "CouchPotato" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-01-09
  @version = "0.1"
  @description = "CouchPotato is an automatic NZB and torrent downloader"
  @website = "http://couchpotatoapp.com/"

  # Google results as at 2012-01-09 #
  # 38 for "Update (diff) available: update now , Check for new version"

  # Dorks #
  @dorks = [
    '"Update (diff) available: update now , Check for new version"'
  ]

  # Matches #
  @matches = [

    # html
    { text: '<html><body><h1>Error 401 Unauthorized</h1>Something unexpected has happened.</body></html>', certainty: 25 },

    # Footer # Version Detection
    { version: /<a href="\/cron\/force\/">Force check<\/a> \)[\s]+<\/div>[\s]+<div id="version">[\s]+Version: <em>([^\s^<]+)<\/em>/ },

    # Default Favicon
    { md5: "a59c6fead5d55050674f327955df3acb", url: "/static/images/favicon.ico" },

    # Default Apple Touch Icon
    { md5: "4814f0d48b2944e48d474325fc4a0f86", url: "/static/images/homescreen.png" },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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