Class: TinyProxy

Inherits:
Fingerprinter::Technologies show all
Defined in:
lib/fingerprinter/technologies/softwares/tinyproxy.rb

Overview

TinyProxy Detection

Constant Summary collapse

HEADERS_REGEX =
{
  'server' => /tinyproxy/
}.freeze

Instance Attribute Summary

Attributes inherited from Fingerprinter::Technologies

#http_client, #results

Class Method Summary collapse

Methods inherited from Fingerprinter::Technologies

#initialize, kb, meta_detection, response_headers_check, #run, title_detection, whole_body_check

Constructor Details

This class inherits a constructor from Fingerprinter::Technologies

Class Method Details

.run(data) ⇒ Object



9
10
11
12
13
# File 'lib/fingerprinter/technologies/softwares/tinyproxy.rb', line 9

def self.run(data)
  return unless response_headers_check(data[:response], HEADERS_REGEX)

  'TinyProxy'
end