intrigue-ident 0.41 → 0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +0 -6
- data/intrigue-ident.gemspec +2 -2
- data/lib/checks/vmware.rb +22 -0
- data/{ident.rb → lib/intrigue-ident.rb} +4 -4
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5d22bb6ba0a17cb4f63563d139000b5b362aa0804736de68665f5e5d27d0219
|
4
|
+
data.tar.gz: d5b42a4de90a45a3c9f018038b40159afbf6a12a5471d22d184b87068103b8da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40c62632d3babf34b888b7258fe4d780f6508612754606cd0d0f4961a7966d327d6f7c1dc6d85911bfe34e341a299c6190c1aac9ac57307f770596bf3d12ab7a
|
7
|
+
data.tar.gz: 724e63d5ee4c97b17c8b0aa5205edf51de8a05573d8622469aec349aa802e57fce663ce1b90b5a89afe3f6d0ebfd8b0e2902568b073a6d9bda5ccefab5cf81f3
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
coderay (1.1.2)
|
5
4
|
diff-lcs (1.3)
|
6
|
-
method_source (0.9.0)
|
7
|
-
pry (0.11.3)
|
8
|
-
coderay (~> 1.1.0)
|
9
|
-
method_source (~> 0.9.0)
|
10
5
|
rspec (3.7.0)
|
11
6
|
rspec-core (~> 3.7.0)
|
12
7
|
rspec-expectations (~> 3.7.0)
|
@@ -25,7 +20,6 @@ PLATFORMS
|
|
25
20
|
ruby
|
26
21
|
|
27
22
|
DEPENDENCIES
|
28
|
-
pry
|
29
23
|
rspec
|
30
24
|
|
31
25
|
RUBY VERSION
|
data/intrigue-ident.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
require_relative 'ident'
|
2
|
+
require_relative 'lib/intrigue-ident'
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "intrigue-ident"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.description = %q{Fingerprinter for Intrigue Data}
|
12
12
|
spec.homepage = "https://intrigue.io"
|
13
13
|
spec.license = "BSD"
|
14
|
-
spec.files =
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
15
15
|
spec.bindir = "exe"
|
16
16
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
17
17
|
spec.require_paths = ["lib"]
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module Check
|
4
|
+
class Vmware < Intrigue::Ident::Check::Base
|
5
|
+
|
6
|
+
def generate_checks(uri)
|
7
|
+
[
|
8
|
+
{
|
9
|
+
:name => "VMWare Horizon",
|
10
|
+
:description => "VMWare Horizon",
|
11
|
+
:version => nil,
|
12
|
+
:type => :content_body,
|
13
|
+
:content => /<title>VMware Horizon/,
|
14
|
+
:paths => ["#{uri}"]
|
15
|
+
}
|
16
|
+
]
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -3,15 +3,15 @@ require 'net/http'
|
|
3
3
|
require 'openssl'
|
4
4
|
require 'zlib'
|
5
5
|
|
6
|
-
require_relative '
|
7
|
-
require_relative '
|
8
|
-
check_folder = File.expand_path('
|
6
|
+
require_relative 'check_factory'
|
7
|
+
require_relative 'checks/base'
|
8
|
+
check_folder = File.expand_path('checks', File.dirname(__FILE__)) # get absolute directory
|
9
9
|
Dir["#{check_folder}/*.rb"].each { |file| require_relative file }
|
10
10
|
|
11
11
|
module Intrigue
|
12
12
|
module Ident
|
13
13
|
|
14
|
-
VERSION=0.
|
14
|
+
VERSION=0.42
|
15
15
|
|
16
16
|
def generate_requests_and_check(url)
|
17
17
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intrigue-ident
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.42'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jcran
|
@@ -61,7 +61,6 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- Gemfile
|
63
63
|
- Gemfile.lock
|
64
|
-
- ident.rb
|
65
64
|
- intrigue-ident.gemspec
|
66
65
|
- lib/check_factory.rb
|
67
66
|
- lib/checks/akamai.rb
|
@@ -104,8 +103,10 @@ files:
|
|
104
103
|
- lib/checks/telerik.rb
|
105
104
|
- lib/checks/tomcat.rb
|
106
105
|
- lib/checks/varnish.rb
|
106
|
+
- lib/checks/vmware.rb
|
107
107
|
- lib/checks/wordpress.rb
|
108
108
|
- lib/checks/wp_engine.rb
|
109
|
+
- lib/intrigue-ident.rb
|
109
110
|
homepage: https://intrigue.io
|
110
111
|
licenses:
|
111
112
|
- BSD
|