Sha256: 730ab46512a9f870d4e03e4b513528e330c8916d1fa52a6e972aacf74cb3442c

Contents?: true

Size: 1.27 KB

Versions: 6

Compression:

Stored size: 1.27 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 "PJIRC" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-02-28
  @version = "0.1"
  @description = "PJIRC is the best free java irc client available. It can be run as an applet or stand alone and it is fully opensource."
  @website = "http://www.pjirc.it/"

  # Google results as at 2011-02-28 #
  # 25 for "Chat Room" "Applet Style" "Nickname" ext:php

  # Dorks #
  @dorks = [
    '"Chat Room" "Applet Style" "Nickname" ext:php'
  ]

  # Matches #
  @matches = [

    # Default body tag
    { text: '<body onload="document.login.nick.focus();" style="margin: 5px;">' },

    # Default JavaScript
    { text: '					document.writeln(\'<input name="jsenabled" type="hidden" value="1" \/>\');' },

    # Default form tag
    { regexp: /				<form name="login" action="[^"]*index\.php" method="post" onsubmit="return CheckForm\('[^']*index\.php\?page=advanced'\)">/ },

    # Version Detection # Login Page
    { version: /	<td align="left">PJIRC Login Page Version ([\d\.]{1,5})<\/td>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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