Method: #Semaphore

Defined in:
lib/whatweb/plugins/semaphore.rb

#SemaphoreObject

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. www.morningstarsecurity.com/research/whatweb



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/whatweb/plugins/semaphore.rb', line 9

WhatWeb::Plugin.define "Semaphore" do
  @author = "Brendan Coles <[email protected]>" # 2011-03-19
  @version = "0.1"
  @description = "Bridging the gap between layman's terms and official language to provide users with more accurate search results."
  @website = "http://www.smartlogic.com/poweredbysemaphore"

  # Google results as at 2011-03-19 #
  # 40 for "Powered by Semaphore" inurl:semaphoreserver.exe filetype:exe

  # Dorks #
  @dorks = [
    '"Powered by Semaphore" inurl:semaphoreserver.exe filetype:exe'
  ]

  # Matches #
  @matches = [

    # GHDB
    { ghdb: '"Powered by Semaphore" inurl:semaphoreserver.exe filetype:exe' },

    # Error Page
    { text: "<html><head><title>Semaphore server Error</title></head><body>" },

    # HTML Comment
    { text: '<!-- Display the "Powered by Semaphore" logo -->' },

    # Powered by logo HTML
    { regexp: /<a href="http:\/\/www.smartlogic.com\/poweredbysemaphore"><img src="[^"^>]+\/semaphore\/semaphore_small\.gif"[^>]+alt="Powered by Semaphore" title="Powered by Semaphore" \/><\/a>/ },

  ]
end