intrigue-ident 0.42 → 0.43
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/generic.rb +9 -0
- data/lib/checks/hp.rb +23 -0
- data/lib/checks/lotus.rb +23 -0
- data/lib/intrigue-ident.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f92cda2bbb0c3a98ca999a63ce84c75381a1ccbfb568f0f1d3e768137407bbf6
|
4
|
+
data.tar.gz: 23b213cfb81fd8409b4b0bf5ad06f6a412ce579dc7e75630024ad25b3e151d82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0536df6d98a8a782580f81b6458f75e933d48be0ddfcb88694c1f53b0176ed8e85a8fdd5600cc445100efa2d4a325e21be7fbc32dc600ffdc0d0b7536c9c6954
|
7
|
+
data.tar.gz: c5621e72c3cef471050e1d37539cdc218e66db9979c4e8bdbeea443d911be9cf270ed5f5326e7237826147c4654ee0077214210f5c4d87e9e786ecf0f3e0f097
|
data/lib/checks/generic.rb
CHANGED
@@ -5,6 +5,15 @@ module Check
|
|
5
5
|
|
6
6
|
def generate_checks(uri)
|
7
7
|
[
|
8
|
+
{
|
9
|
+
:name => "Unauthorized (401)",
|
10
|
+
:description => "Generic Unauthorized",
|
11
|
+
:tags => ["error_page"],
|
12
|
+
:version => nil,
|
13
|
+
:type => :content_body,
|
14
|
+
:content => /<STRONG>401 Unauthorized/,
|
15
|
+
:paths => ["#{uri}"]
|
16
|
+
},
|
8
17
|
{
|
9
18
|
:name => "Content Missing (404)",
|
10
19
|
:description => "Content Missing (404) - Could be an API, or just serving something at another location. TODO ... is this ECS-specific? (check header)",
|
data/lib/checks/hp.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module Check
|
4
|
+
class Hp < Intrigue::Ident::Check::Base
|
5
|
+
|
6
|
+
def generate_checks(uri)
|
7
|
+
[
|
8
|
+
{
|
9
|
+
:name => "HP Printer",
|
10
|
+
:description => "HP Printer",
|
11
|
+
:version => nil,
|
12
|
+
:type => :content_headers,
|
13
|
+
:content => /server: HP-ChaiSOE\/1.0/i,
|
14
|
+
:examples => ["http://69.162.52.20:80"],
|
15
|
+
:paths => ["#{uri}"]
|
16
|
+
}
|
17
|
+
]
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/checks/lotus.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module Check
|
4
|
+
class Lotus < Intrigue::Ident::Check::Base
|
5
|
+
|
6
|
+
def generate_checks(uri)
|
7
|
+
[
|
8
|
+
{
|
9
|
+
:name => "Lotus Domino",
|
10
|
+
:description => "Lotus Domino",
|
11
|
+
:type => :content_headers,
|
12
|
+
:version => nil,
|
13
|
+
:content => /server: Lotus-Domino/i,
|
14
|
+
:examples => ["https://12.237.144.251:443"],
|
15
|
+
:paths => ["#{uri}"]
|
16
|
+
}
|
17
|
+
]
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/intrigue-ident.rb
CHANGED
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.43'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jcran
|
@@ -83,10 +83,12 @@ files:
|
|
83
83
|
- lib/checks/gitlab.rb
|
84
84
|
- lib/checks/google.rb
|
85
85
|
- lib/checks/grafana.rb
|
86
|
+
- lib/checks/hp.rb
|
86
87
|
- lib/checks/jenkins.rb
|
87
88
|
- lib/checks/joomla.rb
|
88
89
|
- lib/checks/limesuvey.rb
|
89
90
|
- lib/checks/lithium.rb
|
91
|
+
- lib/checks/lotus.rb
|
90
92
|
- lib/checks/magento.rb
|
91
93
|
- lib/checks/mcafee.rb
|
92
94
|
- lib/checks/mediawiki.rb
|