intrigue-ident 0.4 → 0.6
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/data/logos/apache.png +0 -0
- data/data/logos/generic.png +0 -0
- data/data/logos/oracle_java.png +0 -0
- data/data/logos/php.png +0 -0
- data/data/logos/varnish.png +0 -0
- data/intrigue-ident.gemspec +2 -2
- data/lib/checks/acquia.rb +26 -0
- data/lib/checks/adobe.rb +38 -0
- data/lib/checks/akamai.rb +6 -4
- data/lib/checks/amazon.rb +54 -8
- data/lib/checks/apache.rb +113 -0
- data/lib/checks/aruba.rb +6 -3
- data/lib/checks/atlassian.rb +46 -28
- data/lib/checks/automattic.rb +189 -0
- data/lib/checks/axis.rb +24 -0
- data/lib/checks/banu.rb +28 -0
- data/lib/checks/base.rb +58 -0
- data/lib/checks/checkpoint.rb +55 -0
- data/lib/checks/chef.rb +16 -12
- data/lib/checks/cisco.rb +85 -12
- data/lib/checks/citrix.rb +81 -6
- data/lib/checks/cloudflare.rb +40 -30
- data/lib/checks/cpanel.rb +8 -6
- data/lib/checks/craft.rb +25 -0
- data/lib/checks/django.rb +8 -6
- data/lib/checks/docuwiki.rb +25 -0
- data/lib/checks/drupal.rb +25 -8
- data/lib/checks/f5.rb +35 -7
- data/lib/checks/fastly.rb +22 -7
- data/lib/checks/generic.rb +34 -6
- data/lib/checks/gitlab.rb +12 -6
- data/lib/checks/google.rb +19 -6
- data/lib/checks/grafana.rb +8 -6
- data/lib/checks/groovy.rb +24 -0
- data/lib/checks/heroku.rb +27 -0
- data/lib/checks/hp.rb +25 -0
- data/lib/checks/ibm.rb +77 -0
- data/lib/checks/ivanti.rb +27 -0
- data/lib/checks/jamf.rb +26 -0
- data/lib/checks/jekyll.rb +28 -0
- data/lib/checks/jenkins.rb +24 -18
- data/lib/checks/jive.rb +25 -0
- data/lib/checks/jobvite.rb +25 -0
- data/lib/checks/joomla.rb +9 -6
- data/lib/checks/jupyter.rb +26 -0
- data/lib/checks/lighttpd.rb +28 -0
- data/lib/checks/limesuvey.rb +8 -6
- data/lib/checks/lithium.rb +15 -11
- data/lib/checks/lotus.rb +27 -0
- data/lib/checks/magento.rb +8 -6
- data/lib/checks/mailchimp.rb +25 -0
- data/lib/checks/mcafee.rb +8 -6
- data/lib/checks/mediawiki.rb +31 -32
- data/lib/checks/microsoft.rb +240 -34
- data/lib/checks/microtik.rb +27 -0
- data/lib/checks/nagios.rb +8 -6
- data/lib/checks/new_relic.rb +25 -0
- data/lib/checks/nginx.rb +40 -0
- data/lib/checks/okta.rb +25 -0
- data/lib/checks/ookla.rb +27 -0
- data/lib/checks/openresty.rb +25 -0
- data/lib/checks/oracle.rb +208 -17
- data/lib/checks/palo_alto.rb +6 -4
- data/lib/checks/pantheon.rb +26 -0
- data/lib/checks/pardot.rb +8 -6
- data/lib/checks/perfectsense.rb +27 -0
- data/lib/checks/pfsense.rb +8 -9
- data/lib/checks/php.rb +41 -0
- data/lib/checks/phpmyadmin.rb +8 -6
- data/lib/checks/ping_identity.rb +27 -0
- data/lib/checks/pivotal.rb +24 -0
- data/lib/checks/plesk.rb +41 -0
- data/lib/checks/pulse_secure.rb +27 -0
- data/lib/checks/rabbitmq.rb +15 -11
- data/lib/checks/restlet.rb +28 -0
- data/lib/checks/ruckus_wireless.rb +24 -0
- data/lib/checks/sailpoint.rb +27 -0
- data/lib/checks/sap.rb +43 -0
- data/lib/checks/tableau.rb +26 -0
- data/lib/checks/team_city.rb +8 -6
- data/lib/checks/telerik.rb +23 -8
- data/lib/checks/varnish.rb +8 -11
- data/lib/checks/vmware.rb +38 -0
- data/lib/checks/webmin.rb +41 -0
- data/lib/checks/wp_engine.rb +10 -6
- data/lib/checks/yaws.rb +29 -0
- data/lib/checks/zeit.rb +28 -0
- data/lib/checks/zendesk.rb +39 -0
- data/lib/checks/zimbra.rb +24 -0
- data/lib/checks/zscaler.rb +28 -0
- data/{ident.rb → lib/intrigue-ident.rb} +66 -32
- data/lib/traverse_exceptions.rb +196 -0
- data/util/check.rb +20 -0
- data/util/list.rb +9 -0
- metadata +58 -9
- data/lib/checks/asp_net.rb +0 -70
- data/lib/checks/cloudfront.rb +0 -41
- data/lib/checks/spring.rb +0 -31
- data/lib/checks/tomcat.rb +0 -22
- data/lib/checks/wordpress.rb +0 -120
@@ -0,0 +1,196 @@
|
|
1
|
+
module Intrigue
|
2
|
+
module Ident
|
3
|
+
module TraverseExceptions
|
4
|
+
|
5
|
+
def non_traversable?(entity_name, type_string="DnsRecord")
|
6
|
+
|
7
|
+
if type_string == "IpAddress"
|
8
|
+
return true if (
|
9
|
+
# Skip Akamai
|
10
|
+
entity_name =~ /^23\..*$/ ||
|
11
|
+
entity_name =~ /^2600:1400.*$/ ||
|
12
|
+
entity_name =~ /^2600:1409.*$/ ||
|
13
|
+
|
14
|
+
# Skip Incapsula... lots of annoying scan results here
|
15
|
+
entity_name =~ /107\.154\.*/ ||
|
16
|
+
|
17
|
+
# RFC1918
|
18
|
+
#entity_name =~ /^172\.16\..*$/ ||
|
19
|
+
#entity_name =~ /^192\.168\..*$/ ||
|
20
|
+
#entity_name =~ /^10\..*$/ ||
|
21
|
+
|
22
|
+
# localhost
|
23
|
+
entity_name =~ /^127\..*$/ ||
|
24
|
+
entity_name =~ /^0.0.0.0/ )
|
25
|
+
end
|
26
|
+
|
27
|
+
if type_string == "DnsRecord" || type_string == "Uri"
|
28
|
+
# Standard exclusions
|
29
|
+
return true if (
|
30
|
+
entity_name =~ /^.*1e100.net(:[0-9]*)?$/ ||
|
31
|
+
entity_name =~ /^.*2o7.net(:[0-9]*)?$/ ||
|
32
|
+
entity_name =~ /^.*akadns.net(:[0-9]*)?$/ ||
|
33
|
+
entity_name =~ /^.*akam.net(:[0-9]*)?$/ ||
|
34
|
+
entity_name =~ /^.*akamai.net(:[0-9]*)?$/ ||
|
35
|
+
entity_name =~ /^.*akamai.com(:[0-9]*)?$/ ||
|
36
|
+
entity_name =~ /^.*akamaiedge.net(:[0-9]*)?$/ ||
|
37
|
+
entity_name =~ /^.*akamaiedge-staging.net(:[0-9]*)?$/ ||
|
38
|
+
entity_name =~ /^.*akamaihd-staging.net(:[0-9]*)?$/ ||
|
39
|
+
entity_name =~ /^.*akamaihd.net(:[0-9]*)?$/ ||
|
40
|
+
entity_name =~ /^.*akamaistream.net(:[0-9]*)?$/ ||
|
41
|
+
entity_name =~ /^.*akamaitechnologies.net(:[0-9]*)?$/ ||
|
42
|
+
entity_name =~ /^.*akamaitechnologies.com(:[0-9]*)?$/ ||
|
43
|
+
entity_name =~ /^.*akamaized-staging.net(:[0-9]*)?$/ ||
|
44
|
+
entity_name =~ /^.*akamaized.net(:[0-9]*)?$/ ||
|
45
|
+
entity_name =~ /^.*amazonaws.com(:[0-9]*)?$/ ||
|
46
|
+
entity_name =~ /^.*android.clients.google.com(:[0-9]*)?$/ ||
|
47
|
+
entity_name =~ /^.*android.com(:[0-9]*)?$/ ||
|
48
|
+
entity_name =~ /^.*apache.org(:[0-9]*)?$/ ||
|
49
|
+
entity_name =~ /^.*\.arpa(:[0-9]*)?$/ ||
|
50
|
+
entity_name =~ /^.*azure-mobile.net(:[0-9]*)?$/ ||
|
51
|
+
entity_name =~ /^.*azureedge-test.net(:[0-9]*)?$/ ||
|
52
|
+
entity_name =~ /^.*azureedge.net(:[0-9]*)?$/ ||
|
53
|
+
entity_name =~ /^.*azurewebsites.net(:[0-9]*)?$/ ||
|
54
|
+
entity_name =~ /^.*bigcommerce.com(:[0-9]*)?$/ ||
|
55
|
+
entity_name =~ /^.*bronto.com(:[0-9]*)?$/ ||
|
56
|
+
entity_name =~ /^.*bydiscourse.com(:[0-9]*)?$/ ||
|
57
|
+
entity_name =~ /^.*chtah.com(:[0-9]*)?$/ ||
|
58
|
+
entity_name =~ /^.*cheetahmail.com(:[0-9]*)?$/ ||
|
59
|
+
entity_name =~ /^.*clickdimensions.com(:[0-9]*)?$/ ||
|
60
|
+
entity_name =~ /^.*cloudapp.net(:[0-9]*)?$/ ||
|
61
|
+
entity_name =~ /^.*cloudfront.net(:[0-9]*)?$/ ||
|
62
|
+
entity_name =~ /^.*cloudflare-dns.com(:[0-9]*)?$/ ||
|
63
|
+
entity_name =~ /^.*corporate-ir.net(:[0-9]*)?$/ ||
|
64
|
+
entity_name =~ /^.*decipherinc.com(:[0-9]*)?$/ ||
|
65
|
+
entity_name =~ /^.*discourse.org(:[0-9]*)?$/ ||
|
66
|
+
entity_name =~ /^.*drupal.org(:[0-9]*)?$/ ||
|
67
|
+
entity_name =~ /^.*ed[0-9]+.com(:[0-9]*)?$/ ||
|
68
|
+
entity_name =~ /^.*edgecastcdn.net(:[0-9]*)?$/ ||
|
69
|
+
entity_name =~ /^.*edgekey.net(:[0-9]*)?$/ ||
|
70
|
+
entity_name =~ /^.*edgekey-staging.net(:[0-9]*)?$/ ||
|
71
|
+
entity_name =~ /^.*edgesuite.net(:[0-9]*)?$/ ||
|
72
|
+
entity_name =~ /^.*eloqua.com(:[0-9]*)?$/ ||
|
73
|
+
entity_name =~ /^.*exacttarget.com(:[0-9]*)?$/ ||
|
74
|
+
entity_name =~ /^.*facebook.com(:[0-9]*)?$/ ||
|
75
|
+
entity_name =~ /^.*feeds2.feedburner.com(:[0-9]*)?$/ ||
|
76
|
+
entity_name =~ /^.*force.com(:[0-9]*)?$/ ||
|
77
|
+
entity_name =~ /^.*g.co(:[0-9]*)?$/ ||
|
78
|
+
entity_name =~ /^.*gandi.net(:[0-9]*)?$/ ||
|
79
|
+
entity_name =~ /^.*ghs.google.com(:[0-9]*)?$/ ||
|
80
|
+
entity_name =~ /^.*github.com(:[0-9]*)?$/ ||
|
81
|
+
entity_name =~ /^.*goo.gl(:[0-9]*)?$/ ||
|
82
|
+
entity_name =~ /^.*google-analytics.com(:[0-9]*)?$/ ||
|
83
|
+
entity_name =~ /^.*githubapp.com(:[0-9]*)?$/ ||
|
84
|
+
entity_name =~ /^.*google.ca(:[0-9]*)?$/ ||
|
85
|
+
entity_name =~ /^.*google.cl(:[0-9]*)?$/ ||
|
86
|
+
entity_name =~ /^.*google.co.in(:[0-9]*)?$/ ||
|
87
|
+
entity_name =~ /^.*google.co.jp(:[0-9]*)?$/ ||
|
88
|
+
entity_name =~ /^.*google.co.uk(:[0-9]*)?$/ ||
|
89
|
+
entity_name =~ /^.*google.com(:[0-9]*)?$/ ||
|
90
|
+
entity_name =~ /^.*google.com.ar(:[0-9]*)?$/ ||
|
91
|
+
entity_name =~ /^.*google.com.au(:[0-9]*)?$/ ||
|
92
|
+
entity_name =~ /^.*google.com.br(:[0-9]*)?$/ ||
|
93
|
+
entity_name =~ /^.*google.com.co(:[0-9]*)?$/ ||
|
94
|
+
entity_name =~ /^.*google.com.mx(:[0-9]*)?$/ ||
|
95
|
+
entity_name =~ /^.*google.com.tr(:[0-9]*)?$/ ||
|
96
|
+
entity_name =~ /^.*google.com.vn(:[0-9]*)?$/ ||
|
97
|
+
entity_name =~ /^.*google.de(:[0-9]*)?$/ ||
|
98
|
+
entity_name =~ /^.*google.es(:[0-9]*)?$/ ||
|
99
|
+
entity_name =~ /^.*google.fr(:[0-9]*)?$/ ||
|
100
|
+
entity_name =~ /^.*google.hu(:[0-9]*)?$/ ||
|
101
|
+
entity_name =~ /^.*google.it(:[0-9]*)?$/ ||
|
102
|
+
entity_name =~ /^.*google.nl(:[0-9]*)?$/ ||
|
103
|
+
entity_name =~ /^.*google.pl(:[0-9]*)?$/ ||
|
104
|
+
entity_name =~ /^.*google.pt(:[0-9]*)?$/ ||
|
105
|
+
entity_name =~ /^.*googleadapis.com(:[0-9]*)?$/ ||
|
106
|
+
entity_name =~ /^.*googleapis.cn(:[0-9]*)?$/ ||
|
107
|
+
entity_name =~ /^.*googlecommerce.com(:[0-9]*)?$/ ||
|
108
|
+
entity_name =~ /^.*googlehosted.com(:[0-9]*)?$/ ||
|
109
|
+
entity_name =~ /^.*googlemail.com(:[0-9]*)?$/ ||
|
110
|
+
entity_name =~ /^.*gigya.com(:[0-9]*)?$/ ||
|
111
|
+
entity_name =~ /^.*gridserver.com(:[0-9]*)?$/ ||
|
112
|
+
entity_name =~ /^.*gstatic.cn(:[0-9]*)?$/ ||
|
113
|
+
entity_name =~ /^.*gstatic.com(:[0-9]*)?$/ ||
|
114
|
+
entity_name =~ /^.*gvt1.com(:[0-9]*)?$/ ||
|
115
|
+
entity_name =~ /^.*gvt2.com(:[0-9]*)?$/ ||
|
116
|
+
entity_name =~ /^.*herokuapp.com(:[0-9]*)?$/ ||
|
117
|
+
entity_name =~ /^.*herokudns.com(:[0-9]*)?$/ ||
|
118
|
+
entity_name =~ /^.*herokussl.com(:[0-9]*)?$/ ||
|
119
|
+
entity_name =~ /^.*hostgator.com(:[0-9]*)?$/ ||
|
120
|
+
entity_name =~ /^.*hscoscdn00.net(:[0-9]*)?$/ ||
|
121
|
+
entity_name =~ /^.*hubspot.com(:[0-9]*)?$/ ||
|
122
|
+
entity_name =~ /^.*hubspot.net(:[0-9]*)?$/ ||
|
123
|
+
entity_name =~ /^.*incapdns.net(:[0-9]*)?$/ ||
|
124
|
+
entity_name =~ /^.*incapsula.com(:[0-9]*)?$/ ||
|
125
|
+
entity_name =~ /^.*instagram.com(:[0-9]*)?$/ ||
|
126
|
+
entity_name =~ /^.*invision.net(:[0-9]*)?$/ ||
|
127
|
+
entity_name =~ /^.*jobing.com(:[0-9]*)?$/ ||
|
128
|
+
entity_name =~ /^.*localhost(:[0-9]*)?$/ ||
|
129
|
+
entity_name =~ /^.*lookbookhq.com(:[0-9]*)?$/ ||
|
130
|
+
entity_name =~ /^.*linkedin.com(:[0-9]*)?$/ ||
|
131
|
+
entity_name =~ /^.*live.net(:[0-9]*)?$/ ||
|
132
|
+
entity_name =~ /^.*live.com(:[0-9]*)?$/ ||
|
133
|
+
entity_name =~ /^.*lync.com(:[0-9]*)?$/ ||
|
134
|
+
entity_name =~ /^.*mailgun.org(:[0-9]*)?$/ ||
|
135
|
+
entity_name =~ /^.*mandrillapp.com(:[0-9]*)?$/ ||
|
136
|
+
entity_name =~ /^.*marketo.com(:[0-9]*)?$/ ||
|
137
|
+
entity_name =~ /^.*metric.gstatic.com(:[0-9]*)?$/ ||
|
138
|
+
entity_name =~ /^.*mktoweb.com(:[0-9]*)?$/ ||
|
139
|
+
entity_name =~ /^.*microsoft.com(:[0-9]*)?$/ ||
|
140
|
+
entity_name =~ /^.*b-msedge.net(:[0-9]*)?$/ ||
|
141
|
+
entity_name =~ /^.*mtsvc.net(:[0-9]*)?$/ ||
|
142
|
+
entity_name =~ /^.*msn.com(:[0-9]*)?$/ ||
|
143
|
+
entity_name =~ /^.*oclc.org(:[0-9]*)?$/ ||
|
144
|
+
entity_name =~ /^.*office.com(:[0-9]*)?$/ ||
|
145
|
+
entity_name =~ /^.*office.net(:[0-9]*)?$/ ||
|
146
|
+
entity_name =~ /^.*office365.com(:[0-9]*)?$/ ||
|
147
|
+
entity_name =~ /^.*outlook.com(:[0-9]*)?$/ ||
|
148
|
+
entity_name =~ /^.*ogp.me(:[0-9]*)?$/ ||
|
149
|
+
entity_name =~ /^.*outlook.com(:[0-9]*)?$/ ||
|
150
|
+
entity_name =~ /^.*pardot.com(:[0-9]*)?$/ ||
|
151
|
+
entity_name =~ /^.*photorank.me(:[0-9]*)?$/ ||
|
152
|
+
entity_name =~ /^.*plus.google.com(:[0-9]*)?$/ ||
|
153
|
+
entity_name =~ /^.*posterous.com(:[0-9]*)?$/ ||
|
154
|
+
entity_name =~ /^.*purl.org(:[0-9]*)?$/ ||
|
155
|
+
entity_name =~ /^.*q4web.com(:[0-9]*)?$/ ||
|
156
|
+
entity_name =~ /^.*rdfs.org(:[0-9]*)?$/ ||
|
157
|
+
entity_name =~ /^.*root-servers.net(:[0-9]*)?$/ ||
|
158
|
+
entity_name =~ /^.*schema.org(:[0-9]*)?$/ ||
|
159
|
+
entity_name =~ /^.*salesforce.com(:[0-9]*)?$/ ||
|
160
|
+
entity_name =~ /^.*sendgrid.net(:[0-9]*)?$/ ||
|
161
|
+
entity_name =~ /^.*secureserver.net(:[0-9]*)?$/ ||
|
162
|
+
entity_name =~ /^.*sharepoint.com(:[0-9]*)?$/ ||
|
163
|
+
entity_name =~ /^.*sharepointonline.com(:[0-9]*)?$/ ||
|
164
|
+
entity_name =~ /^.*siftscience.com(:[0-9]*)?$/ ||
|
165
|
+
entity_name =~ /^.*silverpop.com(:[0-9]*)?$/ ||
|
166
|
+
entity_name =~ /^.*squarespace.com(:[0-9]*)?$/ ||
|
167
|
+
entity_name =~ /^.*statuspage.io(:[0-9]*)?$/ ||
|
168
|
+
entity_name =~ /^.*statusio.com(:[0-9]*)?$/ ||
|
169
|
+
entity_name =~ /^.*twitter.com(:[0-9]*)?$/ ||
|
170
|
+
entity_name =~ /^.*uberflip.com(:[0-9]*)?$/ ||
|
171
|
+
entity_name =~ /^.*urchin.com(:[0-9]*)?$/ ||
|
172
|
+
entity_name =~ /^.*url.google.com(:[0-9]*)?$/ ||
|
173
|
+
entity_name =~ /^.*v0cdn.net(:[0-9]*)?$/ ||
|
174
|
+
entity_name =~ /^.*volusion.com(:[0-9]*)?$/ ||
|
175
|
+
entity_name =~ /^.*w3.org(:[0-9]*)?$/ ||
|
176
|
+
entity_name =~ /^.*websitewelcome.com(:[0-9]*)?$/ ||
|
177
|
+
entity_name =~ /^.*windows.net(:[0-9]*)?$/ ||
|
178
|
+
entity_name =~ /^.*windowsphone-int.net(:[0-9]*)?$/ ||
|
179
|
+
entity_name =~ /^.*windowsphone.com(:[0-9]*)?$/ ||
|
180
|
+
entity_name =~ /^.*wordpress.com(:[0-9]*)?$/ ||
|
181
|
+
entity_name =~ /^.*wpengine.com(:[0-9]*)?$/ ||
|
182
|
+
entity_name =~ /^.*www.goo.gl(:[0-9]*)?$/ ||
|
183
|
+
entity_name =~ /^.*xmlns.com(:[0-9]*)?$/ ||
|
184
|
+
entity_name =~ /^.*youtu.be(:[0-9]*)?$/ ||
|
185
|
+
entity_name =~ /^.*youtube-nocookie.com(:[0-9]*)?$/ ||
|
186
|
+
entity_name =~ /^.*youtube.com(:[0-9]*)?$/ ||
|
187
|
+
entity_name =~ /^.*youtubeeducation.com(:[0-9]*)?$/ ||
|
188
|
+
entity_name =~ /^.*ytimg.com(:[0-9]*)?$/ ||
|
189
|
+
entity_name =~ /^.*zendesk.com(:[0-9]*)?$/ ||
|
190
|
+
entity_name =~ /^.*zepheira.com(:[0-9]*)?$/ ||
|
191
|
+
entity_name =~ /^.*1e100.com(:[0-9]*)?$/ )
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
195
|
+
end
|
196
|
+
end
|
data/util/check.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require_relative "../lib/intrigue-ident"
|
3
|
+
include Intrigue::Ident
|
4
|
+
url = ARGV[0]
|
5
|
+
debug = ARGV[1] || nil
|
6
|
+
puts "Checking... #{url}"
|
7
|
+
matches = generate_requests_and_check(url)
|
8
|
+
|
9
|
+
if debug
|
10
|
+
puts "Debug: #{url}"
|
11
|
+
response = _http_request :get, "#{url}"
|
12
|
+
puts "Headers:"
|
13
|
+
response.each_header {|x| puts " - #{x}: #{response[x]}" }
|
14
|
+
puts "Body:"
|
15
|
+
puts response.body
|
16
|
+
end
|
17
|
+
|
18
|
+
puts "Results: "
|
19
|
+
matches.each{|x| puts " - #{x[:cpe]}" } if matches
|
20
|
+
puts "Done! #{matches.count} matches"
|
data/util/list.rb
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require_relative "../lib/intrigue-ident"
|
3
|
+
include Intrigue::Ident
|
4
|
+
|
5
|
+
def list_checks
|
6
|
+
Intrigue::Ident::CheckFactory.all.map{|x| x.new.generate_checks("x") }.flatten
|
7
|
+
end
|
8
|
+
|
9
|
+
list_checks.sort_by{|c| "#{c[:vendor]}"}.each {|c| puts " - #{c[:vendor]} #{c[:product]} #{c[:version]} #{"(dynamic version detection)" if c[:dynamic_version] != nil }"}
|
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.6'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jcran
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -61,22 +61,33 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- Gemfile
|
63
63
|
- Gemfile.lock
|
64
|
-
-
|
64
|
+
- data/logos/apache.png
|
65
|
+
- data/logos/generic.png
|
66
|
+
- data/logos/oracle_java.png
|
67
|
+
- data/logos/php.png
|
68
|
+
- data/logos/varnish.png
|
65
69
|
- intrigue-ident.gemspec
|
66
70
|
- lib/check_factory.rb
|
71
|
+
- lib/checks/acquia.rb
|
72
|
+
- lib/checks/adobe.rb
|
67
73
|
- lib/checks/akamai.rb
|
68
74
|
- lib/checks/amazon.rb
|
75
|
+
- lib/checks/apache.rb
|
69
76
|
- lib/checks/aruba.rb
|
70
|
-
- lib/checks/asp_net.rb
|
71
77
|
- lib/checks/atlassian.rb
|
78
|
+
- lib/checks/automattic.rb
|
79
|
+
- lib/checks/axis.rb
|
80
|
+
- lib/checks/banu.rb
|
72
81
|
- lib/checks/base.rb
|
82
|
+
- lib/checks/checkpoint.rb
|
73
83
|
- lib/checks/chef.rb
|
74
84
|
- lib/checks/cisco.rb
|
75
85
|
- lib/checks/citrix.rb
|
76
86
|
- lib/checks/cloudflare.rb
|
77
|
-
- lib/checks/cloudfront.rb
|
78
87
|
- lib/checks/cpanel.rb
|
88
|
+
- lib/checks/craft.rb
|
79
89
|
- lib/checks/django.rb
|
90
|
+
- lib/checks/docuwiki.rb
|
80
91
|
- lib/checks/drupal.rb
|
81
92
|
- lib/checks/f5.rb
|
82
93
|
- lib/checks/fastly.rb
|
@@ -84,28 +95,67 @@ files:
|
|
84
95
|
- lib/checks/gitlab.rb
|
85
96
|
- lib/checks/google.rb
|
86
97
|
- lib/checks/grafana.rb
|
98
|
+
- lib/checks/groovy.rb
|
99
|
+
- lib/checks/heroku.rb
|
100
|
+
- lib/checks/hp.rb
|
101
|
+
- lib/checks/ibm.rb
|
102
|
+
- lib/checks/ivanti.rb
|
103
|
+
- lib/checks/jamf.rb
|
104
|
+
- lib/checks/jekyll.rb
|
87
105
|
- lib/checks/jenkins.rb
|
106
|
+
- lib/checks/jive.rb
|
107
|
+
- lib/checks/jobvite.rb
|
88
108
|
- lib/checks/joomla.rb
|
109
|
+
- lib/checks/jupyter.rb
|
110
|
+
- lib/checks/lighttpd.rb
|
89
111
|
- lib/checks/limesuvey.rb
|
90
112
|
- lib/checks/lithium.rb
|
113
|
+
- lib/checks/lotus.rb
|
91
114
|
- lib/checks/magento.rb
|
115
|
+
- lib/checks/mailchimp.rb
|
92
116
|
- lib/checks/mcafee.rb
|
93
117
|
- lib/checks/mediawiki.rb
|
94
118
|
- lib/checks/microsoft.rb
|
119
|
+
- lib/checks/microtik.rb
|
95
120
|
- lib/checks/nagios.rb
|
121
|
+
- lib/checks/new_relic.rb
|
122
|
+
- lib/checks/nginx.rb
|
123
|
+
- lib/checks/okta.rb
|
124
|
+
- lib/checks/ookla.rb
|
125
|
+
- lib/checks/openresty.rb
|
96
126
|
- lib/checks/oracle.rb
|
97
127
|
- lib/checks/palo_alto.rb
|
128
|
+
- lib/checks/pantheon.rb
|
98
129
|
- lib/checks/pardot.rb
|
130
|
+
- lib/checks/perfectsense.rb
|
99
131
|
- lib/checks/pfsense.rb
|
132
|
+
- lib/checks/php.rb
|
100
133
|
- lib/checks/phpmyadmin.rb
|
134
|
+
- lib/checks/ping_identity.rb
|
135
|
+
- lib/checks/pivotal.rb
|
136
|
+
- lib/checks/plesk.rb
|
137
|
+
- lib/checks/pulse_secure.rb
|
101
138
|
- lib/checks/rabbitmq.rb
|
102
|
-
- lib/checks/
|
139
|
+
- lib/checks/restlet.rb
|
140
|
+
- lib/checks/ruckus_wireless.rb
|
141
|
+
- lib/checks/sailpoint.rb
|
142
|
+
- lib/checks/sap.rb
|
143
|
+
- lib/checks/tableau.rb
|
103
144
|
- lib/checks/team_city.rb
|
104
145
|
- lib/checks/telerik.rb
|
105
|
-
- lib/checks/tomcat.rb
|
106
146
|
- lib/checks/varnish.rb
|
107
|
-
- lib/checks/
|
147
|
+
- lib/checks/vmware.rb
|
148
|
+
- lib/checks/webmin.rb
|
108
149
|
- lib/checks/wp_engine.rb
|
150
|
+
- lib/checks/yaws.rb
|
151
|
+
- lib/checks/zeit.rb
|
152
|
+
- lib/checks/zendesk.rb
|
153
|
+
- lib/checks/zimbra.rb
|
154
|
+
- lib/checks/zscaler.rb
|
155
|
+
- lib/intrigue-ident.rb
|
156
|
+
- lib/traverse_exceptions.rb
|
157
|
+
- util/check.rb
|
158
|
+
- util/list.rb
|
109
159
|
homepage: https://intrigue.io
|
110
160
|
licenses:
|
111
161
|
- BSD
|
@@ -114,7 +164,6 @@ post_install_message:
|
|
114
164
|
rdoc_options: []
|
115
165
|
require_paths:
|
116
166
|
- lib
|
117
|
-
- ident.rb
|
118
167
|
required_ruby_version: !ruby/object:Gem::Requirement
|
119
168
|
requirements:
|
120
169
|
- - ">="
|
data/lib/checks/asp_net.rb
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
module Intrigue
|
2
|
-
module Ident
|
3
|
-
module Check
|
4
|
-
class AspNet < Intrigue::Ident::Check::Base
|
5
|
-
|
6
|
-
def generate_checks(uri)
|
7
|
-
[
|
8
|
-
{
|
9
|
-
:accept => "Intrigue::Entity::Uri",
|
10
|
-
:name => "ASP.NET",
|
11
|
-
:description => "ASP.Net Error Message",
|
12
|
-
:version => nil,
|
13
|
-
:tags => ["error_page"],
|
14
|
-
:type => :content_body,
|
15
|
-
:content => /^.*ASP.NET is configured.*$/i,
|
16
|
-
:dynamic_version => lambda{|x| x.body.scan(/ASP.NET Version:(.*)$/)[0].first.chomp },
|
17
|
-
:paths => ["#{uri}"]
|
18
|
-
},
|
19
|
-
{
|
20
|
-
:accept => "Intrigue::Entity::Uri",
|
21
|
-
:name => "ASP.NET",
|
22
|
-
:description => "X-AspNet Header",
|
23
|
-
:version => nil,
|
24
|
-
:type => :content_headers,
|
25
|
-
:content => /^x-aspnet-version:.*$/i,
|
26
|
-
:dynamic_version => lambda{|x| x.body.scan(/ASP.NET Version:(.*)$/i)[0].first.chomp if x.body.scan(/ASP.NET Version:(.*)$/i)[0] },
|
27
|
-
:paths => ["#{uri}"]
|
28
|
-
},
|
29
|
-
{
|
30
|
-
:name => "ASP.NET",
|
31
|
-
:description => "Asp.Net Default Cookie",
|
32
|
-
:version => nil,
|
33
|
-
:type => :content_cookies,
|
34
|
-
:content => /ASPSESSIONID.*$/i,
|
35
|
-
:paths => ["#{uri}"]
|
36
|
-
#:dynamic_version => lambda{|x| x.each_header{|k,v| return v if k =~ /x-aspnet-version/ } }
|
37
|
-
},
|
38
|
-
{
|
39
|
-
:name => "ASP.NET",
|
40
|
-
:description => "Asp.Net Default Cookie",
|
41
|
-
:version => nil,
|
42
|
-
:type => :content_cookies,
|
43
|
-
:content => /ASP.NET_SessionId.*$/i,
|
44
|
-
:paths => ["#{uri}"]
|
45
|
-
#:dynamic_version => lambda{|x| x.each_header{|k,v| return v if k =~ /x-aspnet-version/ } }
|
46
|
-
},
|
47
|
-
{
|
48
|
-
:name => "ASP.NET MVC",
|
49
|
-
:description => "Asp.Net MVC Header",
|
50
|
-
:version => nil,
|
51
|
-
:type => :content_headers,
|
52
|
-
:content => /x-aspnetmvc-version/i,
|
53
|
-
:paths => ["#{uri}"]
|
54
|
-
#:dynamic_version => lambda{|x| x.each_header{|k,v| return v if k =~ /x-aspnetmvc-version/ } }
|
55
|
-
},
|
56
|
-
{
|
57
|
-
:name => "ASP.NET",
|
58
|
-
:description => "WebResource.axd link in the page",
|
59
|
-
:version => nil,
|
60
|
-
:type => :content_body,
|
61
|
-
:content => /WebResource.axd?d=/i,
|
62
|
-
:paths => ["#{uri}"]
|
63
|
-
#:dynamic_version => lambda{|x| x.each_header{|k,v| return v if k =~ /WebResource.axd?d=/ } }
|
64
|
-
}
|
65
|
-
]
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|
data/lib/checks/cloudfront.rb
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
module Intrigue
|
2
|
-
module Ident
|
3
|
-
module Check
|
4
|
-
class Cloudfront < Intrigue::Ident::Check::Base
|
5
|
-
|
6
|
-
def generate_checks(uri)
|
7
|
-
[
|
8
|
-
{
|
9
|
-
:name => "Cloudfront - Error (Body)",
|
10
|
-
:description => "Cloudfront - no configured hostname",
|
11
|
-
:version => "",
|
12
|
-
:type => :content_body,
|
13
|
-
:content => /ERROR: The request could not be satisfied/,
|
14
|
-
:hide => true,
|
15
|
-
:paths => ["#{uri}"]
|
16
|
-
},
|
17
|
-
{
|
18
|
-
:name => "Cloudfront - Error (Headers)",
|
19
|
-
:description => "Cloudfront - no configured hostname",
|
20
|
-
:version => "",
|
21
|
-
:type => :content_headers,
|
22
|
-
:content => /Error from cloudfront/,
|
23
|
-
:hide => true,
|
24
|
-
:paths => ["#{uri}"]
|
25
|
-
},
|
26
|
-
{
|
27
|
-
:name => "Cloudfront - 403 (Body)",
|
28
|
-
:description => "Cloudfront - 403",
|
29
|
-
:version => "",
|
30
|
-
:type => :content_body,
|
31
|
-
:content => /<h1>403 Forbidden<\/h1><\/center>\n<hr><center>cloudflare/,
|
32
|
-
:hide => true,
|
33
|
-
:paths => ["#{uri}"]
|
34
|
-
}
|
35
|
-
]
|
36
|
-
end
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|