intrigue-ident 0.46 → 0.47
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 +23 -0
- data/lib/checks/amazon.rb +2 -2
- data/lib/checks/atlassian.rb +14 -5
- data/lib/checks/chef.rb +3 -3
- data/lib/checks/cisco.rb +6 -6
- data/lib/checks/citrix.rb +2 -2
- data/lib/checks/cloudflare.rb +6 -6
- data/lib/checks/cloudfront.rb +4 -4
- data/lib/checks/cpanel.rb +2 -2
- data/lib/checks/django.rb +2 -2
- data/lib/checks/drupal.rb +2 -2
- data/lib/checks/f5.rb +2 -2
- data/lib/checks/fastly.rb +2 -2
- data/lib/checks/generic.rb +5 -3
- data/lib/checks/gitlab.rb +2 -2
- data/lib/checks/google.rb +2 -2
- data/lib/checks/grafana.rb +2 -2
- data/lib/checks/hp.rb +2 -2
- data/lib/checks/jenkins.rb +4 -4
- data/lib/checks/joomla.rb +2 -2
- data/lib/checks/limesuvey.rb +2 -2
- data/lib/checks/lithium.rb +3 -3
- data/lib/checks/lotus.rb +2 -2
- data/lib/checks/magento.rb +2 -2
- data/lib/checks/mcafee.rb +2 -2
- data/lib/checks/mediawiki.rb +3 -3
- data/lib/checks/microsoft.rb +88 -10
- data/lib/checks/nagios.rb +2 -2
- data/lib/checks/nginx.rb +24 -0
- data/lib/checks/oracle.rb +3 -3
- data/lib/checks/pardot.rb +2 -2
- data/lib/checks/pfsense.rb +2 -2
- data/lib/checks/phpmyadmin.rb +2 -2
- data/lib/checks/rabbitmq.rb +3 -3
- data/lib/checks/spring.rb +2 -2
- data/lib/checks/team_city.rb +2 -2
- data/lib/checks/telerik.rb +2 -2
- data/lib/checks/tomcat.rb +2 -2
- data/lib/checks/varnish.rb +2 -2
- data/lib/checks/vmware.rb +2 -2
- data/lib/checks/wordpress.rb +12 -12
- data/lib/checks/wp_engine.rb +2 -2
- 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: 77728483a277c380646ceb6c0253353f177d6348cb908c389a23f831ef23444b
|
4
|
+
data.tar.gz: 340d97ca26a82a85d91a018a35b8449f562275e0d2abffa43579083d0e0a616a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fe7e89e0291cdce2f2d389ca1a0b005e471d7301b1faa960be34f8d700796f63dcb4705d19008bdcbe51bf64863fd9aedaec0994d356fd7a8a695d95d7a5d42
|
7
|
+
data.tar.gz: 31ac3e55421f512c810696e62caed0a7d3f30bdae713e1764cc11d36f4d027068e976e871002750ad7234bdd453a80e16f3d960696fcfe5c0200f30b9738a34d
|
data/lib/checks/adobe.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module Check
|
4
|
+
class Adobe < Intrigue::Ident::Check::Base
|
5
|
+
|
6
|
+
def generate_checks(url)
|
7
|
+
[
|
8
|
+
{
|
9
|
+
:name => "Adobe Coldfusion",
|
10
|
+
:description => "Adobe Coldfusion",
|
11
|
+
:version => nil,
|
12
|
+
:type => :content_cookies,
|
13
|
+
:content => /CFTOKEN=/,
|
14
|
+
:hide => false,
|
15
|
+
:examples => ["https://209.235.70.106:443"],
|
16
|
+
:paths => ["#{url}"]
|
17
|
+
}
|
18
|
+
]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/checks/amazon.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Amazon < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Amazon ELB",
|
@@ -16,7 +16,7 @@ class Amazon < Intrigue::Ident::Check::Base
|
|
16
16
|
:hide => true,
|
17
17
|
:dynamic_version => lambda { |x| x["details"]["headers"].join("\n").match(/awselb\/(\d.\d)/).captures[0] },
|
18
18
|
:verify_sites => ["http://52.4.103.22:80"],
|
19
|
-
:paths => ["#{
|
19
|
+
:paths => ["#{url}"]
|
20
20
|
}
|
21
21
|
]
|
22
22
|
end
|
data/lib/checks/atlassian.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Atlassian < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Atlassian BitBucket",
|
@@ -11,7 +11,7 @@ class Atlassian < Intrigue::Ident::Check::Base
|
|
11
11
|
:version => nil,
|
12
12
|
:type => :content_body,
|
13
13
|
:content => /com.atlassian.bitbucket.server/i,
|
14
|
-
:paths => ["#{
|
14
|
+
:paths => ["#{url}"]
|
15
15
|
},
|
16
16
|
{
|
17
17
|
:name => "Atlassian Confluence",
|
@@ -19,7 +19,7 @@ class Atlassian < Intrigue::Ident::Check::Base
|
|
19
19
|
:version => nil,
|
20
20
|
:type => :content_headers,
|
21
21
|
:content => /X-Confluence-Request-Time/i,
|
22
|
-
:paths => ["#{
|
22
|
+
:paths => ["#{url}"]
|
23
23
|
},
|
24
24
|
{
|
25
25
|
:name => "Atlassian Crucible",
|
@@ -32,7 +32,16 @@ class Atlassian < Intrigue::Ident::Check::Base
|
|
32
32
|
x["details"]["hidden_response_data"].scan(/Log in to FishEye and Crucible (.*)\</)[0].first
|
33
33
|
end
|
34
34
|
},
|
35
|
-
:paths => ["#{
|
35
|
+
:paths => ["#{url}"]
|
36
|
+
},
|
37
|
+
{
|
38
|
+
:name => "Atlassian Hipchat",
|
39
|
+
:description => "Atlassian Hipchat",
|
40
|
+
:version => nil,
|
41
|
+
:type => :content_body,
|
42
|
+
:content => /\$\(document\).trigger\('hipchat.load'\);/,
|
43
|
+
:examples => ["https://api.appfire.com:443"],
|
44
|
+
:paths => ["#{url}"]
|
36
45
|
},
|
37
46
|
{
|
38
47
|
:name => "Atlassian Jira",
|
@@ -45,7 +54,7 @@ class Atlassian < Intrigue::Ident::Check::Base
|
|
45
54
|
x["details"]["hidden_response_data"].scan(/<span id="footer-build-information">(.*)-<span/)[0].first.gsub("(","")
|
46
55
|
end
|
47
56
|
},
|
48
|
-
:paths => ["#{
|
57
|
+
:paths => ["#{url}"]
|
49
58
|
}
|
50
59
|
]
|
51
60
|
end
|
data/lib/checks/chef.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Chef < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Chef Server",
|
@@ -12,7 +12,7 @@ module Check
|
|
12
12
|
:type => :content_body,
|
13
13
|
:content => /<title>Chef Server<\/title>/,
|
14
14
|
:dynamic_version => lambda{|x| x["details"]["hidden_response_data"].scan(/Version\ (.*)\ —/)[0].first },
|
15
|
-
:paths => ["#{
|
15
|
+
:paths => ["#{url}"]
|
16
16
|
},
|
17
17
|
{
|
18
18
|
:name => "Chef Server",
|
@@ -20,7 +20,7 @@ module Check
|
|
20
20
|
:version => nil,
|
21
21
|
:type => :content_cookies,
|
22
22
|
:content => /chef-manage/i,
|
23
|
-
:paths => ["#{
|
23
|
+
:paths => ["#{url}"]
|
24
24
|
}
|
25
25
|
]
|
26
26
|
end
|
data/lib/checks/cisco.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Cisco < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Cisco SSL VPN",
|
@@ -13,7 +13,7 @@ module Check
|
|
13
13
|
:type => :content_cookies,
|
14
14
|
:content => /webvpn/,
|
15
15
|
:hide => false,
|
16
|
-
:paths => ["#{
|
16
|
+
:paths => ["#{url}"]
|
17
17
|
},
|
18
18
|
{
|
19
19
|
:name => "Cisco SSL VPN",
|
@@ -21,10 +21,10 @@ module Check
|
|
21
21
|
:tags => ["tech:vpn"],
|
22
22
|
:version => nil,
|
23
23
|
:type => :content_body,
|
24
|
-
:content => /document.location.replace\(\"\/\+CSCOE\+\/logon.html\"\)
|
25
|
-
:examples => ["https://12.237.144.250:443"],
|
24
|
+
:content => /document.location.replace\(\"\/\+CSCOE\+\/logon.html\"\)/,
|
25
|
+
:examples => ["https://12.237.144.250:443", "http://12.150.243.178:80"],
|
26
26
|
:hide => false,
|
27
|
-
:paths => ["#{
|
27
|
+
:paths => ["#{url}"]
|
28
28
|
},
|
29
29
|
{
|
30
30
|
:name => "Cisco Router",
|
@@ -33,7 +33,7 @@ module Check
|
|
33
33
|
:type => :content_headers,
|
34
34
|
:content => /server: cisco-IOS/,
|
35
35
|
:hide => false,
|
36
|
-
:paths => ["#{
|
36
|
+
:paths => ["#{url}"]
|
37
37
|
}
|
38
38
|
]
|
39
39
|
end
|
data/lib/checks/citrix.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Citrix < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Citrix Netscaler Gateway",
|
@@ -13,7 +13,7 @@ module Check
|
|
13
13
|
:type => :content_body,
|
14
14
|
:content => /<title>Netscaler Gateway/,
|
15
15
|
:hide => false,
|
16
|
-
:paths => ["#{
|
16
|
+
:paths => ["#{url}"]
|
17
17
|
}
|
18
18
|
]
|
19
19
|
end
|
data/lib/checks/cloudflare.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Cloudflare < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Cloudflare",
|
@@ -11,7 +11,7 @@ module Check
|
|
11
11
|
:version => "",
|
12
12
|
:type => :content_cookies,
|
13
13
|
:content => /__cfduid/i,
|
14
|
-
:paths => ["#{
|
14
|
+
:paths => ["#{url}"]
|
15
15
|
},
|
16
16
|
{
|
17
17
|
:name => "Cloudflare",
|
@@ -19,7 +19,7 @@ module Check
|
|
19
19
|
:version => "",
|
20
20
|
:type => :content_headers,
|
21
21
|
:content => /cloudflare-nginx/i,
|
22
|
-
:paths => ["#{
|
22
|
+
:paths => ["#{url}"]
|
23
23
|
},
|
24
24
|
{
|
25
25
|
:name => "Cloudflare",
|
@@ -29,7 +29,7 @@ module Check
|
|
29
29
|
:type => :content_body,
|
30
30
|
:content => /<title>Direct IP access not allowed \| Cloudflare/,
|
31
31
|
:hide => true,
|
32
|
-
:paths => ["#{
|
32
|
+
:paths => ["#{url}"]
|
33
33
|
},
|
34
34
|
{
|
35
35
|
:name => "Cloudflare",
|
@@ -39,7 +39,7 @@ module Check
|
|
39
39
|
:type => :content_body,
|
40
40
|
:content => /cferror_details/,
|
41
41
|
:hide => true,
|
42
|
-
:paths => ["#{
|
42
|
+
:paths => ["#{url}"]
|
43
43
|
},
|
44
44
|
{
|
45
45
|
:name => "Cloudflare",
|
@@ -48,7 +48,7 @@ module Check
|
|
48
48
|
:type => :content_body,
|
49
49
|
:content => /403\ Forbidden<\/h1><\/center>\n<hr><center>cloudflare<\/center>/,
|
50
50
|
:hide => true,
|
51
|
-
:paths => ["#{
|
51
|
+
:paths => ["#{url}"]
|
52
52
|
}
|
53
53
|
]
|
54
54
|
end
|
data/lib/checks/cloudfront.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Cloudfront < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Cloudfront - Error (Body)",
|
@@ -12,7 +12,7 @@ module Check
|
|
12
12
|
:type => :content_body,
|
13
13
|
:content => /ERROR: The request could not be satisfied/,
|
14
14
|
:hide => true,
|
15
|
-
:paths => ["#{
|
15
|
+
:paths => ["#{url}"]
|
16
16
|
},
|
17
17
|
{
|
18
18
|
:name => "Cloudfront - Error (Headers)",
|
@@ -21,7 +21,7 @@ module Check
|
|
21
21
|
:type => :content_headers,
|
22
22
|
:content => /Error from cloudfront/,
|
23
23
|
:hide => true,
|
24
|
-
:paths => ["#{
|
24
|
+
:paths => ["#{url}"]
|
25
25
|
},
|
26
26
|
{
|
27
27
|
:name => "Cloudfront - 403 (Body)",
|
@@ -30,7 +30,7 @@ module Check
|
|
30
30
|
:type => :content_body,
|
31
31
|
:content => /<h1>403 Forbidden<\/h1><\/center>\n<hr><center>cloudflare/,
|
32
32
|
:hide => true,
|
33
|
-
:paths => ["#{
|
33
|
+
:paths => ["#{url}"]
|
34
34
|
}
|
35
35
|
]
|
36
36
|
end
|
data/lib/checks/cpanel.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Cpanel < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "cPanel Hosted - Missing Page",
|
@@ -12,7 +12,7 @@ module Check
|
|
12
12
|
:type => :content_body,
|
13
13
|
:content => /URL=\/cgi-sys\/defaultwebpage.cgi/,
|
14
14
|
:hide => true,
|
15
|
-
:paths => ["#{
|
15
|
+
:paths => ["#{url}"]
|
16
16
|
}
|
17
17
|
]
|
18
18
|
end
|
data/lib/checks/django.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Django < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Django",
|
@@ -11,7 +11,7 @@ module Check
|
|
11
11
|
:version => nil,
|
12
12
|
:type => :content_body,
|
13
13
|
:content => /<title>Log in \| Django site admin<\/title>/,
|
14
|
-
:paths => ["#{
|
14
|
+
:paths => ["#{url}/admin"]
|
15
15
|
}
|
16
16
|
]
|
17
17
|
end
|
data/lib/checks/drupal.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Drupal < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Drupal",
|
@@ -15,7 +15,7 @@ module Check
|
|
15
15
|
version = x["details"]["hidden_response_data"].scan(/^(Drupal.*)[ ,<\.].*$/)[0]
|
16
16
|
return version.first.gsub("Drupal ","").gsub(",","").chomp if version
|
17
17
|
},
|
18
|
-
:paths => ["#{
|
18
|
+
:paths => ["#{url}/CHANGELOG.txt"]
|
19
19
|
}
|
20
20
|
]
|
21
21
|
end
|
data/lib/checks/f5.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class F5 < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "F5 BIG-IP APM",
|
@@ -13,7 +13,7 @@ module Check
|
|
13
13
|
:type => :content_cookies,
|
14
14
|
:content => /MRHSession/,
|
15
15
|
:hide => false,
|
16
|
-
:paths => ["#{
|
16
|
+
:paths => ["#{url}"]
|
17
17
|
}
|
18
18
|
]
|
19
19
|
end
|
data/lib/checks/fastly.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Fastly < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Fastly",
|
@@ -11,7 +11,7 @@ module Check
|
|
11
11
|
:version => "",
|
12
12
|
:type => :content_headers,
|
13
13
|
:content => /x-fastly-backend-reqs/i,
|
14
|
-
:paths => ["#{
|
14
|
+
:paths => ["#{url}"]
|
15
15
|
}
|
16
16
|
]
|
17
17
|
end
|
data/lib/checks/generic.rb
CHANGED
@@ -3,25 +3,27 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Generic < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Unauthorized (401)",
|
10
10
|
:description => "Generic Unauthorized",
|
11
11
|
:tags => ["error_page"],
|
12
12
|
:version => nil,
|
13
|
+
:hide => true,
|
13
14
|
:type => :content_body,
|
14
15
|
:content => /<STRONG>401 Unauthorized/,
|
15
|
-
:paths => ["#{
|
16
|
+
:paths => ["#{url}"]
|
16
17
|
},
|
17
18
|
{
|
18
19
|
:name => "Content Missing (404)",
|
19
20
|
:description => "Content Missing (404) - Could be an API, or just serving something at another location. TODO ... is this ECS-specific? (check header)",
|
20
21
|
:tags => ["error_page"],
|
21
22
|
:version => nil,
|
23
|
+
:hide => true,
|
22
24
|
:type => :content_body,
|
23
25
|
:content => /<title>404 - Not Found<\/title>/,
|
24
|
-
:paths => ["#{
|
26
|
+
:paths => ["#{url}"]
|
25
27
|
}
|
26
28
|
]
|
27
29
|
end
|
data/lib/checks/gitlab.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Gitlab < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Gitlab",
|
@@ -11,7 +11,7 @@ module Check
|
|
11
11
|
:version => nil,
|
12
12
|
:type => :content_cookies,
|
13
13
|
:content => /_gitlab_session/i,
|
14
|
-
:paths => ["#{
|
14
|
+
:paths => ["#{url}"]
|
15
15
|
}
|
16
16
|
]
|
17
17
|
end
|
data/lib/checks/google.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Google < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Google",
|
@@ -12,7 +12,7 @@ module Check
|
|
12
12
|
:version => "",
|
13
13
|
:content => /The requested URL <code>\/<\/code> was not found on this server\./,
|
14
14
|
:hide => true,
|
15
|
-
:paths => ["#{
|
15
|
+
:paths => ["#{url}"]
|
16
16
|
}
|
17
17
|
]
|
18
18
|
end
|
data/lib/checks/grafana.rb
CHANGED
@@ -3,7 +3,7 @@ module Ident
|
|
3
3
|
module Check
|
4
4
|
class Grafana < Intrigue::Ident::Check::Base
|
5
5
|
|
6
|
-
def generate_checks(
|
6
|
+
def generate_checks(url)
|
7
7
|
[
|
8
8
|
{
|
9
9
|
:name => "Grafana",
|
@@ -11,7 +11,7 @@ module Check
|
|
11
11
|
:version => nil,
|
12
12
|
:type => :content_cookies,
|
13
13
|
:content => /grafana_sess/i,
|
14
|
-
:paths => ["#{
|
14
|
+
:paths => ["#{url}"]
|
15
15
|
}
|
16
16
|
]
|
17
17
|
end
|