intrigue-ident 0.51 → 0.52
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/lib/checks/adobe.rb +1 -1
- data/lib/checks/checkpoint.rb +27 -0
- data/lib/checks/fastly.rb +14 -1
- data/lib/checks/oracle.rb +60 -5
- data/lib/checks/perfectsense.rb +27 -0
- data/lib/checks/pfsense.rb +1 -4
- data/lib/checks/ping_identity.rb +27 -0
- data/lib/checks/zendesk.rb +26 -0
- data/lib/intrigue-ident.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a9d6e4e609205533a0ffd35145fb3ed4b513b3069bb2c3c1aa0d83636d6318c
|
4
|
+
data.tar.gz: b0809ce786a47f93d7ff5d6cb4116043e63cafb4de53b19db977f64d8e38b171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4862aa7f4b461b07f712cd1982ec24be5082de46b14d1880c2021ffa550cef84348172e7354c47f34de12c87f7a8d6d9257096c7a46fc93b6ada902c4512e244
|
7
|
+
data.tar.gz: d81522d48458032467654d323db6554e941eb7a7e6a1bca677f143cf29427aadd09802bc0aae8ce389334d9454500e6f8d828d773516343e64f24fbc57d6ec4f
|
data/lib/checks/adobe.rb
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module Check
|
4
|
+
class Checkpoint < Intrigue::Ident::Check::Base
|
5
|
+
|
6
|
+
def generate_checks(url)
|
7
|
+
[
|
8
|
+
{
|
9
|
+
:type => "application",
|
10
|
+
:vendor => "Checkpoint",
|
11
|
+
:tags => [],
|
12
|
+
:product =>"GO",
|
13
|
+
:match_details =>"page title",
|
14
|
+
:references => ["https://en.wikipedia.org/wiki/Check_Point_GO"],
|
15
|
+
:version => nil,
|
16
|
+
:match_type => :content_body,
|
17
|
+
:match_content => /<title>Check Point Mobile GO/i,
|
18
|
+
:examples => ["http://192.234.138.61:80"],
|
19
|
+
:verify => ["eGNlbGVuZXJneSNJbnRyaWd1ZTo6RW50aXR5OjpVcmkjaHR0cDovLzE5Mi4yMzQuMTM4LjYxOjgw"],
|
20
|
+
:paths => ["#{url}"]
|
21
|
+
}
|
22
|
+
]
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/checks/fastly.rb
CHANGED
@@ -9,11 +9,24 @@ module Check
|
|
9
9
|
:type => "service",
|
10
10
|
:vendor =>"Fastly",
|
11
11
|
:product =>"Fastly",
|
12
|
-
:match_details =>"",
|
12
|
+
:match_details =>"header",
|
13
13
|
:version => nil,
|
14
14
|
:match_type => :content_headers,
|
15
15
|
:match_content => /x-fastly-backend-reqs/i,
|
16
16
|
:paths => ["#{url}"]
|
17
|
+
},
|
18
|
+
{
|
19
|
+
:type => "service",
|
20
|
+
:vendor =>"Fastly",
|
21
|
+
:product =>"Fastly",
|
22
|
+
:match_details =>"error content in page",
|
23
|
+
:version => nil,
|
24
|
+
:hide => true,
|
25
|
+
:match_type => :content_body,
|
26
|
+
:match_content => /<title>Fastly error: unknown domain/i,
|
27
|
+
:examples => ["http://151.101.1.224:80"],
|
28
|
+
:verify => ["ZXRzeSNJbnRyaWd1ZTo6RW50aXR5OjpVcmkjaHR0cDovLzE1MS4xMDEuMS4yMjQ6ODA="],
|
29
|
+
:paths => ["#{url}"]
|
17
30
|
}
|
18
31
|
]
|
19
32
|
end
|
data/lib/checks/oracle.rb
CHANGED
@@ -5,22 +5,63 @@ module Check
|
|
5
5
|
|
6
6
|
def generate_checks(url)
|
7
7
|
[
|
8
|
-
{
|
8
|
+
{
|
9
9
|
:type => "application",
|
10
10
|
:vendor => "Oracle",
|
11
11
|
:product =>"Application Server",
|
12
|
-
:match_details =>"
|
12
|
+
:match_details =>"server header",
|
13
13
|
:references => [],
|
14
14
|
:version => nil,
|
15
15
|
:match_type => :content_headers,
|
16
|
-
:match_content => /
|
16
|
+
:match_content => /Oracle-Application-Server/,
|
17
17
|
:hide => false,
|
18
18
|
:dynamic_version => lambda { |x|
|
19
|
-
_first_header_capture(x,/
|
20
|
-
:examples => [
|
19
|
+
_first_header_capture(x,/Oracle-Application-Server-[0-9]+[a-z]?\/(.*?)\ /) },
|
20
|
+
:examples => [
|
21
|
+
"https://63.85.74.53:443",
|
22
|
+
"https://rss.tomthumb.com:443",
|
23
|
+
"https://qas.huntsmanservice.com:443"
|
24
|
+
],
|
21
25
|
:verify => ["YWxiZXJ0c29ucyNJbnRyaWd1ZTo6RW50aXR5OjpVcmkjaHR0cHM6Ly9yc3MudG9tdGh1bWIuY29tOjQ0Mw=="],
|
22
26
|
:paths => ["#{url}"]
|
23
27
|
},
|
28
|
+
{
|
29
|
+
:type => "application",
|
30
|
+
:vendor => "Oracle",
|
31
|
+
:product =>"HTTP Server",
|
32
|
+
:match_details =>"server header",
|
33
|
+
:references => [],
|
34
|
+
:version => nil,
|
35
|
+
:match_type => :content_headers,
|
36
|
+
:match_content => /Oracle-HTTP-Server/,
|
37
|
+
:hide => false,
|
38
|
+
:dynamic_version => lambda { |x|
|
39
|
+
_first_header_capture(x,/Oracle-HTTP-Server\/(.*?)\ /)
|
40
|
+
},
|
41
|
+
:examples => [
|
42
|
+
"https://qas.huntsmanservice.com:443"
|
43
|
+
],
|
44
|
+
:verify => ["aHVudHNtYW4jSW50cmlndWU6OkVudGl0eTo6VXJpI2h0dHBzOi8vcWFzLmh1bnRzbWFuc2VydmljZS5jb206NDQz"],
|
45
|
+
:paths => ["#{url}"]
|
46
|
+
},
|
47
|
+
{
|
48
|
+
:type => "application",
|
49
|
+
:vendor => "Oracle",
|
50
|
+
:product =>"Web Cache Server",
|
51
|
+
:match_details =>"server header",
|
52
|
+
:references => [],
|
53
|
+
:version => nil,
|
54
|
+
:match_type => :content_headers,
|
55
|
+
:match_content => /Oracle-Web-Cache/,
|
56
|
+
:hide => false,
|
57
|
+
:dynamic_version => lambda { |x|
|
58
|
+
_first_header_capture(x,/Oracle-Web-Cache-[0-9]+[a-z]?\/(.*?)\ /) },
|
59
|
+
:examples => [
|
60
|
+
"https://qas.huntsmanservice.com:443"
|
61
|
+
],
|
62
|
+
:verify => ["aHVudHNtYW4jSW50cmlndWU6OkVudGl0eTo6VXJpI2h0dHBzOi8vcWFzLmh1bnRzbWFuc2VydmljZS5jb206NDQz"],
|
63
|
+
:paths => ["#{url}"]
|
64
|
+
},
|
24
65
|
{
|
25
66
|
:type => "application",
|
26
67
|
:vendor => "Oracle",
|
@@ -120,6 +161,20 @@ module Check
|
|
120
161
|
:hide => false,
|
121
162
|
:examples => ["https://css-ewebsvcs.freddiemac.com:443"],
|
122
163
|
:paths => ["#{url}"]
|
164
|
+
},
|
165
|
+
{
|
166
|
+
:type => "application",
|
167
|
+
:vendor => "Oracle",
|
168
|
+
:product =>"Weblogic",
|
169
|
+
:match_details =>"weblogic header",
|
170
|
+
:references => ["https://support.oracle.com/knowledge/Middleware/2100514_1.html"],
|
171
|
+
:version => nil,
|
172
|
+
:match_type => :content_headers,
|
173
|
+
:match_content => /^x-oracle-dms-ecid:/,
|
174
|
+
:hide => false,
|
175
|
+
:examples => ["https://tmsstg-eem-db.ros.com:443"],
|
176
|
+
:verify => ["cm9zc3N0b3JlcyNJbnRyaWd1ZTo6RW50aXR5OjpVcmkjaHR0cHM6Ly90bXNzdGctZWVtLWRiLnJvcy5jb206NDQz"],
|
177
|
+
:paths => ["#{url}"]
|
123
178
|
}
|
124
179
|
]
|
125
180
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module Check
|
4
|
+
class Perfectsense < Intrigue::Ident::Check::Base
|
5
|
+
|
6
|
+
def generate_checks(url)
|
7
|
+
[
|
8
|
+
{
|
9
|
+
:type => "application",
|
10
|
+
:vendor => "PerfectSense",
|
11
|
+
:tags => [],
|
12
|
+
:product =>"Brightspot",
|
13
|
+
:match_details =>"server header",
|
14
|
+
:version => nil,
|
15
|
+
:references => [],
|
16
|
+
:match_type => :content_headers,
|
17
|
+
:match_content => /x-powered-by: Brightspot/i,
|
18
|
+
:examples => [],
|
19
|
+
:verify => [],
|
20
|
+
:paths => ["#{url}"]
|
21
|
+
}
|
22
|
+
]
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/checks/pfsense.rb
CHANGED
@@ -9,10 +9,7 @@ module Check
|
|
9
9
|
:type => "application",
|
10
10
|
:vendor => "pfSense",
|
11
11
|
:product =>"pfSense",
|
12
|
-
:match_details =>"
|
13
|
-
"computer software distribution based on FreeBSD. It is " +
|
14
|
-
"installed on a physical computer or a virtual machine to" +
|
15
|
-
"make a dedicated firewall/router for a network",
|
12
|
+
:match_details => "unique body content",
|
16
13
|
:version => nil,
|
17
14
|
:match_type => :content_body,
|
18
15
|
:match_content => /Login to pfSense/,
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module Check
|
4
|
+
class PingIdentiy < Intrigue::Ident::Check::Base
|
5
|
+
|
6
|
+
def generate_checks(url)
|
7
|
+
[
|
8
|
+
{
|
9
|
+
:type => "service",
|
10
|
+
:vendor => "PingIdentity",
|
11
|
+
:product =>"PingFederate",
|
12
|
+
:references => ["https://ping.force.com/Support/PingFederate/Administration/Single-sign-on-no-target796070NEW"],
|
13
|
+
:match_details =>"redirect (may be interesting)",
|
14
|
+
:version => nil,
|
15
|
+
:match_type => :content_headers,
|
16
|
+
:match_content => /^location:.*startSSO.ping/,
|
17
|
+
:examples => ["http://192.234.137.107:80"],
|
18
|
+
:verify => ["eGNlbGVuZXJneSNJbnRyaWd1ZTo6RW50aXR5OjpVcmkjaHR0cDovLzE5Mi4yMzQuMTM3LjEwNzo4MA"],
|
19
|
+
:paths => ["#{url}"]
|
20
|
+
}
|
21
|
+
]
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module Check
|
4
|
+
class Zendesk < Intrigue::Ident::Check::Base
|
5
|
+
|
6
|
+
def generate_checks(url)
|
7
|
+
[
|
8
|
+
{
|
9
|
+
:type => "service",
|
10
|
+
:vendor =>"Zendesk",
|
11
|
+
:product =>"Zendesk",
|
12
|
+
:match_details =>"unique header",
|
13
|
+
:references => [],
|
14
|
+
:match_type => :content_headers,
|
15
|
+
:match_content => /^x-zendesk-origin-server:.*$/i,
|
16
|
+
:examples => ["http://help.etsy.com:80"],
|
17
|
+
:verify => ["ZXRzeSNJbnRyaWd1ZTo6RW50aXR5OjpVcmkjaHR0cDovL2hlbHAuZXRzeS5jb206ODA="],
|
18
|
+
:paths => ["#{url}"]
|
19
|
+
}
|
20
|
+
]
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/lib/intrigue-ident.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intrigue-ident
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.52'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jcran
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -73,6 +73,7 @@ files:
|
|
73
73
|
- lib/checks/automattic.rb
|
74
74
|
- lib/checks/banu.rb
|
75
75
|
- lib/checks/base.rb
|
76
|
+
- lib/checks/checkpoint.rb
|
76
77
|
- lib/checks/chef.rb
|
77
78
|
- lib/checks/cisco.rb
|
78
79
|
- lib/checks/citrix.rb
|
@@ -118,9 +119,11 @@ files:
|
|
118
119
|
- lib/checks/palo_alto.rb
|
119
120
|
- lib/checks/pantheon.rb
|
120
121
|
- lib/checks/pardot.rb
|
122
|
+
- lib/checks/perfectsense.rb
|
121
123
|
- lib/checks/pfsense.rb
|
122
124
|
- lib/checks/php.rb
|
123
125
|
- lib/checks/phpmyadmin.rb
|
126
|
+
- lib/checks/ping_identity.rb
|
124
127
|
- lib/checks/pivotal.rb
|
125
128
|
- lib/checks/rabbitmq.rb
|
126
129
|
- lib/checks/restlet.rb
|
@@ -133,6 +136,7 @@ files:
|
|
133
136
|
- lib/checks/vmware.rb
|
134
137
|
- lib/checks/wp_engine.rb
|
135
138
|
- lib/checks/zeit.rb
|
139
|
+
- lib/checks/zendesk.rb
|
136
140
|
- lib/checks/zimbra.rb
|
137
141
|
- lib/checks/zscaler.rb
|
138
142
|
- lib/intrigue-ident.rb
|