recog 2.3.5 → 2.3.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) 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 +7 -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 +21 -0
  12. data/features/data/successful_tests.xml +1 -1
  13. data/features/data/tests_with_warnings.xml +1 -1
  14. data/features/match.feature +4 -0
  15. data/features/support/aruba.rb +3 -0
  16. data/features/verify.feature +8 -4
  17. data/identifiers/README.md +56 -0
  18. data/identifiers/hw_device.txt +77 -0
  19. data/identifiers/hw_family.txt +96 -0
  20. data/identifiers/hw_product.txt +328 -0
  21. data/identifiers/os_architecture.txt +20 -0
  22. data/identifiers/os_device.txt +94 -0
  23. data/identifiers/os_family.txt +325 -0
  24. data/identifiers/os_product.txt +420 -0
  25. data/identifiers/service_family.txt +272 -0
  26. data/identifiers/service_product.txt +556 -0
  27. data/identifiers/software_class.txt +26 -0
  28. data/identifiers/software_family.txt +91 -0
  29. data/identifiers/software_product.txt +333 -0
  30. data/identifiers/vendor.txt +890 -0
  31. data/lib/recog/fingerprint.rb +46 -0
  32. data/lib/recog/version.rb +1 -1
  33. data/requirements.txt +1 -1
  34. data/spec/data/verification_fingerprints.xml +86 -0
  35. data/spec/lib/fingerprint_self_test_spec.rb +1 -1
  36. data/spec/lib/recog/fingerprint/regexp_factory_spec.rb +1 -1
  37. data/spec/lib/recog/fingerprint_spec.rb +89 -0
  38. data/update_cpes.py +1 -1
  39. data/xml/apache_modules.xml +292 -5
  40. data/xml/apache_os.xml +50 -2
  41. data/xml/architecture.xml +19 -7
  42. data/xml/dns_versionbind.xml +113 -11
  43. data/xml/favicons.xml +1700 -0
  44. data/xml/ftp_banners.xml +287 -15
  45. data/xml/h323_callresp.xml +112 -12
  46. data/xml/hp_pjl_id.xml +47 -5
  47. data/xml/html_title.xml +2371 -17
  48. data/xml/http_cookies.xml +82 -7
  49. data/xml/http_servers.xml +839 -41
  50. data/xml/http_wwwauth.xml +154 -27
  51. data/xml/imap_banners.xml +19 -13
  52. data/xml/ldap_searchresult.xml +81 -9
  53. data/xml/mdns_device-info_txt.xml +194 -17
  54. data/xml/mdns_workstation_txt.xml +4 -2
  55. data/xml/mysql_banners.xml +554 -45
  56. data/xml/mysql_error.xml +113 -6
  57. data/xml/nntp_banners.xml +10 -2
  58. data/xml/ntp_banners.xml +95 -11
  59. data/xml/operating_system.xml +90 -3
  60. data/xml/pop_banners.xml +30 -31
  61. data/xml/rsh_resp.xml +11 -2
  62. data/xml/rtsp_servers.xml +96 -0
  63. data/xml/sip_banners.xml +192 -17
  64. data/xml/sip_user_agents.xml +69 -3
  65. data/xml/smb_native_lm.xml +10 -2
  66. data/xml/smb_native_os.xml +80 -2
  67. data/xml/smtp_banners.xml +166 -9
  68. data/xml/smtp_debug.xml +6 -4
  69. data/xml/smtp_ehlo.xml +7 -5
  70. data/xml/smtp_expn.xml +13 -4
  71. data/xml/smtp_help.xml +23 -4
  72. data/xml/smtp_mailfrom.xml +5 -2
  73. data/xml/smtp_noop.xml +6 -5
  74. data/xml/smtp_quit.xml +5 -4
  75. data/xml/smtp_rcptto.xml +5 -2
  76. data/xml/smtp_rset.xml +4 -4
  77. data/xml/smtp_turn.xml +4 -4
  78. data/xml/smtp_vrfy.xml +14 -4
  79. data/xml/snmp_sysdescr.xml +862 -122
  80. data/xml/snmp_sysobjid.xml +47 -2
  81. data/xml/ssh_banners.xml +1153 -192
  82. data/xml/telnet_banners.xml +419 -14
  83. data/xml/x11_banners.xml +27 -4
  84. data/xml/x509_issuers.xml +39 -15
  85. data/xml/x509_subjects.xml +545 -64
  86. metadata +32 -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.5
4
+ version: 2.3.10
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-10-17 00:00:00.000000000 Z
11
+ date: 2020-07-14 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
@@ -174,6 +195,7 @@ files:
174
195
  - spec/data/best_service_match_1.yml
175
196
  - spec/data/smb_native_os.txt
176
197
  - spec/data/test_fingerprints.xml
198
+ - spec/data/verification_fingerprints.xml
177
199
  - spec/data/whitespaced_fingerprint.xml
178
200
  - spec/lib/fingerprint_self_test_spec.rb
179
201
  - spec/lib/recog/db_spec.rb
@@ -189,6 +211,7 @@ files:
189
211
  - xml/apache_os.xml
190
212
  - xml/architecture.xml
191
213
  - xml/dns_versionbind.xml
214
+ - xml/favicons.xml
192
215
  - xml/fingerprints.xsd
193
216
  - xml/ftp_banners.xml
194
217
  - xml/h323_callresp.xml
@@ -208,6 +231,7 @@ files:
208
231
  - xml/operating_system.xml
209
232
  - xml/pop_banners.xml
210
233
  - xml/rsh_resp.xml
234
+ - xml/rtsp_servers.xml
211
235
  - xml/sip_banners.xml
212
236
  - xml/sip_user_agents.xml
213
237
  - xml/smb_native_lm.xml
@@ -234,7 +258,7 @@ files:
234
258
  homepage: https://www.github.com/rapid7/recog
235
259
  licenses: []
236
260
  metadata: {}
237
- post_install_message:
261
+ post_install_message:
238
262
  rdoc_options: []
239
263
  require_paths:
240
264
  - lib
@@ -249,8 +273,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
273
  - !ruby/object:Gem::Version
250
274
  version: '0'
251
275
  requirements: []
252
- rubygems_version: 3.0.3
253
- signing_key:
276
+ rubygems_version: 3.0.8
277
+ signing_key:
254
278
  specification_version: 4
255
279
  summary: Network service fingerprint database, classes, and utilities
256
280
  test_files:
@@ -263,6 +287,7 @@ test_files:
263
287
  - features/data/tests_with_failures.xml
264
288
  - features/data/tests_with_warnings.xml
265
289
  - features/match.feature
290
+ - features/support/aruba.rb
266
291
  - features/support/env.rb
267
292
  - features/verify.feature
268
293
  - spec/data/best_os_match_1.yml
@@ -270,6 +295,7 @@ test_files:
270
295
  - spec/data/best_service_match_1.yml
271
296
  - spec/data/smb_native_os.txt
272
297
  - spec/data/test_fingerprints.xml
298
+ - spec/data/verification_fingerprints.xml
273
299
  - spec/data/whitespaced_fingerprint.xml
274
300
  - spec/lib/fingerprint_self_test_spec.rb
275
301
  - spec/lib/recog/db_spec.rb