recog 2.3.6 → 2.3.11

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.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +17 -5
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +2 -4
  6. data/CONTRIBUTING.md +136 -37
  7. data/Gemfile +2 -5
  8. data/README.md +34 -29
  9. data/bin/recog_cleanup +16 -0
  10. data/bin/recog_standardize +142 -0
  11. data/cpe-remap.yaml +20 -0
  12. data/features/match.feature +4 -0
  13. data/features/support/aruba.rb +3 -0
  14. data/features/verify.feature +5 -0
  15. data/identifiers/README.md +56 -0
  16. data/identifiers/hw_device.txt +77 -0
  17. data/identifiers/hw_family.txt +96 -0
  18. data/identifiers/hw_product.txt +328 -0
  19. data/identifiers/os_architecture.txt +20 -0
  20. data/identifiers/os_device.txt +94 -0
  21. data/identifiers/os_family.txt +325 -0
  22. data/identifiers/os_product.txt +420 -0
  23. data/identifiers/service_family.txt +272 -0
  24. data/identifiers/service_product.txt +557 -0
  25. data/identifiers/software_class.txt +26 -0
  26. data/identifiers/software_family.txt +91 -0
  27. data/identifiers/software_product.txt +333 -0
  28. data/identifiers/vendor.txt +891 -0
  29. data/lib/recog/version.rb +1 -1
  30. data/requirements.txt +1 -1
  31. data/spec/lib/fingerprint_self_test_spec.rb +1 -1
  32. data/spec/lib/recog/fingerprint/regexp_factory_spec.rb +1 -1
  33. data/update_cpes.py +4 -1
  34. data/xml/apache_modules.xml +292 -5
  35. data/xml/apache_os.xml +50 -2
  36. data/xml/architecture.xml +19 -7
  37. data/xml/dns_versionbind.xml +215 -11
  38. data/xml/favicons.xml +1701 -0
  39. data/xml/ftp_banners.xml +225 -12
  40. data/xml/h323_callresp.xml +112 -12
  41. data/xml/hp_pjl_id.xml +47 -5
  42. data/xml/html_title.xml +2371 -17
  43. data/xml/http_cookies.xml +82 -7
  44. data/xml/http_servers.xml +863 -43
  45. data/xml/http_wwwauth.xml +154 -27
  46. data/xml/imap_banners.xml +19 -13
  47. data/xml/ldap_searchresult.xml +81 -9
  48. data/xml/mdns_device-info_txt.xml +194 -17
  49. data/xml/mdns_workstation_txt.xml +4 -2
  50. data/xml/mysql_banners.xml +554 -45
  51. data/xml/mysql_error.xml +113 -6
  52. data/xml/nntp_banners.xml +10 -2
  53. data/xml/ntp_banners.xml +95 -11
  54. data/xml/operating_system.xml +90 -3
  55. data/xml/pop_banners.xml +30 -31
  56. data/xml/rsh_resp.xml +11 -2
  57. data/xml/rtsp_servers.xml +96 -0
  58. data/xml/sip_banners.xml +192 -17
  59. data/xml/sip_user_agents.xml +69 -3
  60. data/xml/smb_native_lm.xml +10 -2
  61. data/xml/smb_native_os.xml +80 -2
  62. data/xml/smtp_banners.xml +166 -9
  63. data/xml/smtp_debug.xml +6 -4
  64. data/xml/smtp_ehlo.xml +7 -5
  65. data/xml/smtp_expn.xml +13 -4
  66. data/xml/smtp_help.xml +23 -4
  67. data/xml/smtp_mailfrom.xml +5 -2
  68. data/xml/smtp_noop.xml +6 -5
  69. data/xml/smtp_quit.xml +5 -4
  70. data/xml/smtp_rcptto.xml +5 -2
  71. data/xml/smtp_rset.xml +4 -4
  72. data/xml/smtp_turn.xml +4 -4
  73. data/xml/smtp_vrfy.xml +14 -4
  74. data/xml/snmp_sysdescr.xml +863 -122
  75. data/xml/snmp_sysobjid.xml +47 -2
  76. data/xml/ssh_banners.xml +253 -78
  77. data/xml/telnet_banners.xml +419 -14
  78. data/xml/x11_banners.xml +27 -4
  79. data/xml/x509_issuers.xml +39 -15
  80. data/xml/x509_subjects.xml +545 -64
  81. metadata +30 -6
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recog
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.6
4
+ version: 2.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rapid7 Research
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-13 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -115,8 +115,10 @@ description: Recog is a framework for identifying products, services, operating
115
115
  email:
116
116
  - research@rapid7.com
117
117
  executables:
118
+ - recog_cleanup
118
119
  - recog_export
119
120
  - recog_match
121
+ - recog_standardize
120
122
  - recog_verify
121
123
  extensions: []
122
124
  extra_rdoc_files: []
@@ -127,6 +129,8 @@ files:
127
129
  - ".github/PULL_REQUEST_TEMPLATE"
128
130
  - ".gitignore"
129
131
  - ".rspec"
132
+ - ".ruby-gemset"
133
+ - ".ruby-version"
130
134
  - ".travis.yml"
131
135
  - ".yardopts"
132
136
  - CONTRIBUTING.md
@@ -135,8 +139,10 @@ files:
135
139
  - LICENSE
136
140
  - README.md
137
141
  - Rakefile
142
+ - bin/recog_cleanup
138
143
  - bin/recog_export
139
144
  - bin/recog_match
145
+ - bin/recog_standardize
140
146
  - bin/recog_verify
141
147
  - cpe-remap.yaml
142
148
  - features/data/failing_banners_fingerprints.xml
@@ -148,8 +154,23 @@ files:
148
154
  - features/data/tests_with_failures.xml
149
155
  - features/data/tests_with_warnings.xml
150
156
  - features/match.feature
157
+ - features/support/aruba.rb
151
158
  - features/support/env.rb
152
159
  - features/verify.feature
160
+ - identifiers/README.md
161
+ - identifiers/hw_device.txt
162
+ - identifiers/hw_family.txt
163
+ - identifiers/hw_product.txt
164
+ - identifiers/os_architecture.txt
165
+ - identifiers/os_device.txt
166
+ - identifiers/os_family.txt
167
+ - identifiers/os_product.txt
168
+ - identifiers/service_family.txt
169
+ - identifiers/service_product.txt
170
+ - identifiers/software_class.txt
171
+ - identifiers/software_family.txt
172
+ - identifiers/software_product.txt
173
+ - identifiers/vendor.txt
153
174
  - lib/recog.rb
154
175
  - lib/recog/db.rb
155
176
  - lib/recog/db_manager.rb
@@ -190,6 +211,7 @@ files:
190
211
  - xml/apache_os.xml
191
212
  - xml/architecture.xml
192
213
  - xml/dns_versionbind.xml
214
+ - xml/favicons.xml
193
215
  - xml/fingerprints.xsd
194
216
  - xml/ftp_banners.xml
195
217
  - xml/h323_callresp.xml
@@ -209,6 +231,7 @@ files:
209
231
  - xml/operating_system.xml
210
232
  - xml/pop_banners.xml
211
233
  - xml/rsh_resp.xml
234
+ - xml/rtsp_servers.xml
212
235
  - xml/sip_banners.xml
213
236
  - xml/sip_user_agents.xml
214
237
  - xml/smb_native_lm.xml
@@ -235,7 +258,7 @@ files:
235
258
  homepage: https://www.github.com/rapid7/recog
236
259
  licenses: []
237
260
  metadata: {}
238
- post_install_message:
261
+ post_install_message:
239
262
  rdoc_options: []
240
263
  require_paths:
241
264
  - lib
@@ -250,8 +273,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
273
  - !ruby/object:Gem::Version
251
274
  version: '0'
252
275
  requirements: []
253
- rubygems_version: 3.0.3
254
- signing_key:
276
+ rubygems_version: 3.0.8
277
+ signing_key:
255
278
  specification_version: 4
256
279
  summary: Network service fingerprint database, classes, and utilities
257
280
  test_files:
@@ -264,6 +287,7 @@ test_files:
264
287
  - features/data/tests_with_failures.xml
265
288
  - features/data/tests_with_warnings.xml
266
289
  - features/match.feature
290
+ - features/support/aruba.rb
267
291
  - features/support/env.rb
268
292
  - features/verify.feature
269
293
  - spec/data/best_os_match_1.yml