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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5d22bb6ba0a17cb4f63563d139000b5b362aa0804736de68665f5e5d27d0219
4
- data.tar.gz: d5b42a4de90a45a3c9f018038b40159afbf6a12a5471d22d184b87068103b8da
3
+ metadata.gz: f92cda2bbb0c3a98ca999a63ce84c75381a1ccbfb568f0f1d3e768137407bbf6
4
+ data.tar.gz: 23b213cfb81fd8409b4b0bf5ad06f6a412ce579dc7e75630024ad25b3e151d82
5
5
  SHA512:
6
- metadata.gz: 40c62632d3babf34b888b7258fe4d780f6508612754606cd0d0f4961a7966d327d6f7c1dc6d85911bfe34e341a299c6190c1aac9ac57307f770596bf3d12ab7a
7
- data.tar.gz: 724e63d5ee4c97b17c8b0aa5205edf51de8a05573d8622469aec349aa802e57fce663ce1b90b5a89afe3f6d0ebfd8b0e2902568b073a6d9bda5ccefab5cf81f3
6
+ metadata.gz: 0536df6d98a8a782580f81b6458f75e933d48be0ddfcb88694c1f53b0176ed8e85a8fdd5600cc445100efa2d4a325e21be7fbc32dc600ffdc0d0b7536c9c6954
7
+ data.tar.gz: c5621e72c3cef471050e1d37539cdc218e66db9979c4e8bdbeea443d911be9cf270ed5f5326e7237826147c4654ee0077214210f5c4d87e9e786ecf0f3e0f097
@@ -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)",
@@ -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
@@ -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
@@ -11,7 +11,7 @@ Dir["#{check_folder}/*.rb"].each { |file| require_relative file }
11
11
  module Intrigue
12
12
  module Ident
13
13
 
14
- VERSION=0.42
14
+ VERSION=0.43
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.42'
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