recog-intrigue 2.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +17 -0
  4. data/.github/ISSUE_TEMPLATE/fingerprint_request.md +27 -0
  5. data/.github/PULL_REQUEST_TEMPLATE +24 -0
  6. data/.gitignore +14 -0
  7. data/.rbenv-gemset +1 -0
  8. data/.rspec +3 -0
  9. data/.ruby-gemset +1 -0
  10. data/.ruby-version +1 -0
  11. data/.travis.yml +25 -0
  12. data/.yardopts +1 -0
  13. data/CONTRIBUTING.md +171 -0
  14. data/COPYING +23 -0
  15. data/Gemfile +10 -0
  16. data/LICENSE +7 -0
  17. data/README.md +85 -0
  18. data/Rakefile +22 -0
  19. data/bin/recog_export +81 -0
  20. data/bin/recog_match +55 -0
  21. data/bin/recog_standardize +118 -0
  22. data/bin/recog_verify +64 -0
  23. data/cpe-remap.yaml +134 -0
  24. data/features/data/failing_banners_fingerprints.xml +20 -0
  25. data/features/data/matching_banners_fingerprints.xml +23 -0
  26. data/features/data/multiple_banners_fingerprints.xml +32 -0
  27. data/features/data/no_tests.xml +3 -0
  28. data/features/data/sample_banner.txt +2 -0
  29. data/features/data/successful_tests.xml +18 -0
  30. data/features/data/tests_with_failures.xml +20 -0
  31. data/features/data/tests_with_warnings.xml +17 -0
  32. data/features/match.feature +36 -0
  33. data/features/support/aruba.rb +3 -0
  34. data/features/support/env.rb +6 -0
  35. data/features/verify.feature +48 -0
  36. data/identifiers/README.md +47 -0
  37. data/identifiers/os_architecture.txt +20 -0
  38. data/identifiers/os_device.txt +52 -0
  39. data/identifiers/os_family.txt +160 -0
  40. data/identifiers/os_product.txt +199 -0
  41. data/identifiers/service_family.txt +185 -0
  42. data/identifiers/service_product.txt +255 -0
  43. data/identifiers/software_class.txt +26 -0
  44. data/identifiers/software_family.txt +91 -0
  45. data/identifiers/software_product.txt +333 -0
  46. data/identifiers/vendor.txt +405 -0
  47. data/lib/recog.rb +4 -0
  48. data/lib/recog/db.rb +78 -0
  49. data/lib/recog/db_manager.rb +31 -0
  50. data/lib/recog/fingerprint.rb +280 -0
  51. data/lib/recog/fingerprint/regexp_factory.rb +56 -0
  52. data/lib/recog/fingerprint/test.rb +18 -0
  53. data/lib/recog/formatter.rb +51 -0
  54. data/lib/recog/match_reporter.rb +77 -0
  55. data/lib/recog/matcher.rb +94 -0
  56. data/lib/recog/matcher_factory.rb +14 -0
  57. data/lib/recog/nizer.rb +347 -0
  58. data/lib/recog/verifier.rb +39 -0
  59. data/lib/recog/verifier_factory.rb +13 -0
  60. data/lib/recog/verify_reporter.rb +86 -0
  61. data/lib/recog/version.rb +3 -0
  62. data/misc/convert_mysql_err +61 -0
  63. data/misc/order.xsl +17 -0
  64. data/recog-intrigue.gemspec +45 -0
  65. data/requirements.txt +2 -0
  66. data/spec/data/best_os_match_1.yml +17 -0
  67. data/spec/data/best_os_match_2.yml +17 -0
  68. data/spec/data/best_service_match_1.yml +17 -0
  69. data/spec/data/smb_native_os.txt +25 -0
  70. data/spec/data/test_fingerprints.xml +36 -0
  71. data/spec/data/verification_fingerprints.xml +86 -0
  72. data/spec/data/whitespaced_fingerprint.xml +5 -0
  73. data/spec/lib/fingerprint_self_test_spec.rb +174 -0
  74. data/spec/lib/recog/db_spec.rb +98 -0
  75. data/spec/lib/recog/fingerprint/regexp_factory_spec.rb +73 -0
  76. data/spec/lib/recog/fingerprint_spec.rb +112 -0
  77. data/spec/lib/recog/formatter_spec.rb +69 -0
  78. data/spec/lib/recog/match_reporter_spec.rb +91 -0
  79. data/spec/lib/recog/nizer_spec.rb +330 -0
  80. data/spec/lib/recog/verify_reporter_spec.rb +113 -0
  81. data/spec/spec_helper.rb +82 -0
  82. data/update_cpes.py +186 -0
  83. data/xml/apache_modules.xml +1911 -0
  84. data/xml/apache_os.xml +273 -0
  85. data/xml/architecture.xml +36 -0
  86. data/xml/dns_versionbind.xml +761 -0
  87. data/xml/fingerprints.xsd +128 -0
  88. data/xml/ftp_banners.xml +1553 -0
  89. data/xml/h323_callresp.xml +603 -0
  90. data/xml/hp_pjl_id.xml +358 -0
  91. data/xml/html_title.xml +1630 -0
  92. data/xml/http_cookies.xml +411 -0
  93. data/xml/http_servers.xml +3195 -0
  94. data/xml/http_wwwauth.xml +595 -0
  95. data/xml/imap_banners.xml +245 -0
  96. data/xml/ldap_searchresult.xml +711 -0
  97. data/xml/mdns_device-info_txt.xml +1796 -0
  98. data/xml/mdns_workstation_txt.xml +15 -0
  99. data/xml/mysql_banners.xml +1649 -0
  100. data/xml/mysql_error.xml +871 -0
  101. data/xml/nntp_banners.xml +82 -0
  102. data/xml/ntp_banners.xml +1223 -0
  103. data/xml/operating_system.xml +629 -0
  104. data/xml/pop_banners.xml +499 -0
  105. data/xml/rsh_resp.xml +76 -0
  106. data/xml/rtsp_servers.xml +76 -0
  107. data/xml/sip_banners.xml +359 -0
  108. data/xml/sip_user_agents.xml +221 -0
  109. data/xml/smb_native_lm.xml +62 -0
  110. data/xml/smb_native_os.xml +662 -0
  111. data/xml/smtp_banners.xml +1690 -0
  112. data/xml/smtp_debug.xml +39 -0
  113. data/xml/smtp_ehlo.xml +49 -0
  114. data/xml/smtp_expn.xml +82 -0
  115. data/xml/smtp_help.xml +157 -0
  116. data/xml/smtp_mailfrom.xml +20 -0
  117. data/xml/smtp_noop.xml +44 -0
  118. data/xml/smtp_quit.xml +29 -0
  119. data/xml/smtp_rcptto.xml +25 -0
  120. data/xml/smtp_rset.xml +26 -0
  121. data/xml/smtp_turn.xml +26 -0
  122. data/xml/smtp_vrfy.xml +89 -0
  123. data/xml/snmp_sysdescr.xml +6507 -0
  124. data/xml/snmp_sysobjid.xml +430 -0
  125. data/xml/ssh_banners.xml +1968 -0
  126. data/xml/telnet_banners.xml +1595 -0
  127. data/xml/x11_banners.xml +232 -0
  128. data/xml/x509_issuers.xml +134 -0
  129. data/xml/x509_subjects.xml +1268 -0
  130. metadata +304 -0
metadata ADDED
@@ -0,0 +1,304 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: recog-intrigue
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.7
5
+ platform: ruby
6
+ authors:
7
+ - Rapid7 Research
8
+ - jcran
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2020-06-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: yard
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: redcarpet
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: cucumber
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: aruba
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: simplecov
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: nokogiri
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ description: Recog is a framework for identifying products, services, operating systems,
113
+ and hardware by matching fingerprints against data returned from various network
114
+ probes. Recog makes it simply to extract useful information from web server banners,
115
+ snmp system description fields, and a whole lot more.
116
+ email:
117
+ - jcran@intrigue.io
118
+ executables:
119
+ - recog_export
120
+ - recog_match
121
+ - recog_standardize
122
+ - recog_verify
123
+ extensions: []
124
+ extra_rdoc_files: []
125
+ files:
126
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
127
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
128
+ - ".github/ISSUE_TEMPLATE/fingerprint_request.md"
129
+ - ".github/PULL_REQUEST_TEMPLATE"
130
+ - ".gitignore"
131
+ - ".rbenv-gemset"
132
+ - ".rspec"
133
+ - ".ruby-gemset"
134
+ - ".ruby-version"
135
+ - ".travis.yml"
136
+ - ".yardopts"
137
+ - CONTRIBUTING.md
138
+ - COPYING
139
+ - Gemfile
140
+ - LICENSE
141
+ - README.md
142
+ - Rakefile
143
+ - bin/recog_export
144
+ - bin/recog_match
145
+ - bin/recog_standardize
146
+ - bin/recog_verify
147
+ - cpe-remap.yaml
148
+ - features/data/failing_banners_fingerprints.xml
149
+ - features/data/matching_banners_fingerprints.xml
150
+ - features/data/multiple_banners_fingerprints.xml
151
+ - features/data/no_tests.xml
152
+ - features/data/sample_banner.txt
153
+ - features/data/successful_tests.xml
154
+ - features/data/tests_with_failures.xml
155
+ - features/data/tests_with_warnings.xml
156
+ - features/match.feature
157
+ - features/support/aruba.rb
158
+ - features/support/env.rb
159
+ - features/verify.feature
160
+ - identifiers/README.md
161
+ - identifiers/os_architecture.txt
162
+ - identifiers/os_device.txt
163
+ - identifiers/os_family.txt
164
+ - identifiers/os_product.txt
165
+ - identifiers/service_family.txt
166
+ - identifiers/service_product.txt
167
+ - identifiers/software_class.txt
168
+ - identifiers/software_family.txt
169
+ - identifiers/software_product.txt
170
+ - identifiers/vendor.txt
171
+ - lib/recog.rb
172
+ - lib/recog/db.rb
173
+ - lib/recog/db_manager.rb
174
+ - lib/recog/fingerprint.rb
175
+ - lib/recog/fingerprint/regexp_factory.rb
176
+ - lib/recog/fingerprint/test.rb
177
+ - lib/recog/formatter.rb
178
+ - lib/recog/match_reporter.rb
179
+ - lib/recog/matcher.rb
180
+ - lib/recog/matcher_factory.rb
181
+ - lib/recog/nizer.rb
182
+ - lib/recog/verifier.rb
183
+ - lib/recog/verifier_factory.rb
184
+ - lib/recog/verify_reporter.rb
185
+ - lib/recog/version.rb
186
+ - misc/convert_mysql_err
187
+ - misc/order.xsl
188
+ - recog-intrigue.gemspec
189
+ - requirements.txt
190
+ - spec/data/best_os_match_1.yml
191
+ - spec/data/best_os_match_2.yml
192
+ - spec/data/best_service_match_1.yml
193
+ - spec/data/smb_native_os.txt
194
+ - spec/data/test_fingerprints.xml
195
+ - spec/data/verification_fingerprints.xml
196
+ - spec/data/whitespaced_fingerprint.xml
197
+ - spec/lib/fingerprint_self_test_spec.rb
198
+ - spec/lib/recog/db_spec.rb
199
+ - spec/lib/recog/fingerprint/regexp_factory_spec.rb
200
+ - spec/lib/recog/fingerprint_spec.rb
201
+ - spec/lib/recog/formatter_spec.rb
202
+ - spec/lib/recog/match_reporter_spec.rb
203
+ - spec/lib/recog/nizer_spec.rb
204
+ - spec/lib/recog/verify_reporter_spec.rb
205
+ - spec/spec_helper.rb
206
+ - update_cpes.py
207
+ - xml/apache_modules.xml
208
+ - xml/apache_os.xml
209
+ - xml/architecture.xml
210
+ - xml/dns_versionbind.xml
211
+ - xml/fingerprints.xsd
212
+ - xml/ftp_banners.xml
213
+ - xml/h323_callresp.xml
214
+ - xml/hp_pjl_id.xml
215
+ - xml/html_title.xml
216
+ - xml/http_cookies.xml
217
+ - xml/http_servers.xml
218
+ - xml/http_wwwauth.xml
219
+ - xml/imap_banners.xml
220
+ - xml/ldap_searchresult.xml
221
+ - xml/mdns_device-info_txt.xml
222
+ - xml/mdns_workstation_txt.xml
223
+ - xml/mysql_banners.xml
224
+ - xml/mysql_error.xml
225
+ - xml/nntp_banners.xml
226
+ - xml/ntp_banners.xml
227
+ - xml/operating_system.xml
228
+ - xml/pop_banners.xml
229
+ - xml/rsh_resp.xml
230
+ - xml/rtsp_servers.xml
231
+ - xml/sip_banners.xml
232
+ - xml/sip_user_agents.xml
233
+ - xml/smb_native_lm.xml
234
+ - xml/smb_native_os.xml
235
+ - xml/smtp_banners.xml
236
+ - xml/smtp_debug.xml
237
+ - xml/smtp_ehlo.xml
238
+ - xml/smtp_expn.xml
239
+ - xml/smtp_help.xml
240
+ - xml/smtp_mailfrom.xml
241
+ - xml/smtp_noop.xml
242
+ - xml/smtp_quit.xml
243
+ - xml/smtp_rcptto.xml
244
+ - xml/smtp_rset.xml
245
+ - xml/smtp_turn.xml
246
+ - xml/smtp_vrfy.xml
247
+ - xml/snmp_sysdescr.xml
248
+ - xml/snmp_sysobjid.xml
249
+ - xml/ssh_banners.xml
250
+ - xml/telnet_banners.xml
251
+ - xml/x11_banners.xml
252
+ - xml/x509_issuers.xml
253
+ - xml/x509_subjects.xml
254
+ homepage: https://www.github.com/rapid7/recog
255
+ licenses: []
256
+ metadata: {}
257
+ post_install_message:
258
+ rdoc_options: []
259
+ require_paths:
260
+ - lib
261
+ required_ruby_version: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - ">="
264
+ - !ruby/object:Gem::Version
265
+ version: '2.1'
266
+ required_rubygems_version: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ requirements: []
272
+ rubygems_version: 3.0.3
273
+ signing_key:
274
+ specification_version: 4
275
+ summary: Network service fingerprint database, classes, and utilities
276
+ test_files:
277
+ - features/data/failing_banners_fingerprints.xml
278
+ - features/data/matching_banners_fingerprints.xml
279
+ - features/data/multiple_banners_fingerprints.xml
280
+ - features/data/no_tests.xml
281
+ - features/data/sample_banner.txt
282
+ - features/data/successful_tests.xml
283
+ - features/data/tests_with_failures.xml
284
+ - features/data/tests_with_warnings.xml
285
+ - features/match.feature
286
+ - features/support/aruba.rb
287
+ - features/support/env.rb
288
+ - features/verify.feature
289
+ - spec/data/best_os_match_1.yml
290
+ - spec/data/best_os_match_2.yml
291
+ - spec/data/best_service_match_1.yml
292
+ - spec/data/smb_native_os.txt
293
+ - spec/data/test_fingerprints.xml
294
+ - spec/data/verification_fingerprints.xml
295
+ - spec/data/whitespaced_fingerprint.xml
296
+ - spec/lib/fingerprint_self_test_spec.rb
297
+ - spec/lib/recog/db_spec.rb
298
+ - spec/lib/recog/fingerprint/regexp_factory_spec.rb
299
+ - spec/lib/recog/fingerprint_spec.rb
300
+ - spec/lib/recog/formatter_spec.rb
301
+ - spec/lib/recog/match_reporter_spec.rb
302
+ - spec/lib/recog/nizer_spec.rb
303
+ - spec/lib/recog/verify_reporter_spec.rb
304
+ - spec/spec_helper.rb