recog 2.3.22 → 3.0.2

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 (128) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -0
  3. data/LICENSE +1 -1
  4. data/README.md +25 -16
  5. data/Rakefile +2 -9
  6. data/lib/recog/db_manager.rb +1 -1
  7. data/lib/recog/fingerprint.rb +21 -7
  8. data/lib/recog/fingerprint_parse_error.rb +10 -0
  9. data/lib/recog/match_reporter.rb +37 -3
  10. data/lib/recog/matcher.rb +5 -10
  11. data/lib/recog/verifier.rb +4 -4
  12. data/lib/recog/verify_reporter.rb +7 -6
  13. data/lib/recog/version.rb +1 -1
  14. data/{bin → recog/bin}/recog_match +20 -7
  15. data/{xml → recog/xml}/apache_modules.xml +0 -0
  16. data/{xml → recog/xml}/apache_os.xml +61 -19
  17. data/{xml → recog/xml}/architecture.xml +15 -1
  18. data/{xml → recog/xml}/dhcp_vendor_class.xml +10 -10
  19. data/{xml → recog/xml}/dns_versionbind.xml +16 -13
  20. data/{xml → recog/xml}/favicons.xml +167 -9
  21. data/{xml → recog/xml}/fingerprints.xsd +9 -1
  22. data/{xml → recog/xml}/ftp_banners.xml +131 -141
  23. data/{xml → recog/xml}/h323_callresp.xml +2 -2
  24. data/{xml → recog/xml}/hp_pjl_id.xml +81 -81
  25. data/{xml → recog/xml}/html_title.xml +250 -9
  26. data/{xml → recog/xml}/http_cookies.xml +111 -34
  27. data/{xml → recog/xml}/http_servers.xml +483 -270
  28. data/{xml → recog/xml}/http_wwwauth.xml +83 -37
  29. data/{xml → recog/xml}/imap_banners.xml +10 -10
  30. data/{xml → recog/xml}/ldap_searchresult.xml +0 -0
  31. data/{xml → recog/xml}/mdns_device-info_txt.xml +0 -0
  32. data/{xml → recog/xml}/mdns_workstation_txt.xml +0 -0
  33. data/{xml → recog/xml}/mysql_banners.xml +0 -0
  34. data/{xml → recog/xml}/mysql_error.xml +0 -0
  35. data/{xml → recog/xml}/nntp_banners.xml +8 -5
  36. data/{xml → recog/xml}/ntp_banners.xml +33 -33
  37. data/{xml → recog/xml}/operating_system.xml +92 -77
  38. data/{xml → recog/xml}/pop_banners.xml +25 -25
  39. data/{xml → recog/xml}/rsh_resp.xml +0 -0
  40. data/{xml → recog/xml}/rtsp_servers.xml +0 -0
  41. data/{xml → recog/xml}/sip_banners.xml +16 -5
  42. data/{xml → recog/xml}/sip_user_agents.xml +122 -27
  43. data/{xml → recog/xml}/smb_native_lm.xml +5 -5
  44. data/{xml → recog/xml}/smb_native_os.xml +25 -25
  45. data/{xml → recog/xml}/smtp_banners.xml +132 -131
  46. data/{xml → recog/xml}/smtp_debug.xml +0 -0
  47. data/{xml → recog/xml}/smtp_ehlo.xml +0 -0
  48. data/{xml → recog/xml}/smtp_expn.xml +0 -0
  49. data/{xml → recog/xml}/smtp_help.xml +1 -1
  50. data/{xml → recog/xml}/smtp_mailfrom.xml +0 -0
  51. data/{xml → recog/xml}/smtp_noop.xml +0 -0
  52. data/{xml → recog/xml}/smtp_quit.xml +0 -0
  53. data/{xml → recog/xml}/smtp_rcptto.xml +0 -0
  54. data/{xml → recog/xml}/smtp_rset.xml +0 -0
  55. data/{xml → recog/xml}/smtp_turn.xml +0 -0
  56. data/{xml → recog/xml}/smtp_vrfy.xml +0 -0
  57. data/{xml → recog/xml}/snmp_sysdescr.xml +1248 -1233
  58. data/{xml → recog/xml}/snmp_sysobjid.xml +13 -2
  59. data/{xml → recog/xml}/ssh_banners.xml +9 -5
  60. data/{xml → recog/xml}/telnet_banners.xml +83 -1
  61. data/{xml → recog/xml}/tls_jarm.xml +30 -2
  62. data/{xml → recog/xml}/x11_banners.xml +3 -3
  63. data/{xml → recog/xml}/x509_issuers.xml +24 -4
  64. data/{xml → recog/xml}/x509_subjects.xml +32 -3
  65. data/recog.gemspec +9 -5
  66. data/spec/data/external_example_fingerprint/hp_printer_ex_01.txt +1 -0
  67. data/spec/data/external_example_fingerprint/hp_printer_ex_02.txt +1 -0
  68. data/spec/data/external_example_fingerprint.xml +8 -0
  69. data/spec/data/external_example_illegal_path_fingerprint.xml +7 -0
  70. data/spec/lib/recog/db_spec.rb +84 -61
  71. data/spec/lib/recog/fingerprint_spec.rb +4 -4
  72. data/spec/lib/recog/match_reporter_spec.rb +22 -8
  73. data/spec/lib/recog/verify_reporter_spec.rb +8 -8
  74. data/spec/spec_helper.rb +4 -0
  75. data.tar.gz.sig +0 -0
  76. metadata +154 -142
  77. metadata.gz.sig +0 -0
  78. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -37
  79. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
  80. data/.github/ISSUE_TEMPLATE/fingerprint_request.md +0 -27
  81. data/.github/PULL_REQUEST_TEMPLATE +0 -24
  82. data/.github/SECURITY.md +0 -35
  83. data/.github/dependabot.yml +0 -8
  84. data/.github/workflows/ci.yml +0 -26
  85. data/.github/workflows/verify.yml +0 -89
  86. data/.gitignore +0 -23
  87. data/.rspec +0 -3
  88. data/.ruby-gemset +0 -1
  89. data/.ruby-version +0 -1
  90. data/.snyk +0 -10
  91. data/.travis.yml +0 -25
  92. data/CONTRIBUTING.md +0 -276
  93. data/bin/recog_cleanup +0 -16
  94. data/bin/recog_export +0 -81
  95. data/bin/recog_standardize +0 -163
  96. data/bin/recog_verify +0 -63
  97. data/cpe-remap.yaml +0 -356
  98. data/features/data/failing_banners_fingerprints.xml +0 -20
  99. data/features/data/matching_banners_fingerprints.xml +0 -23
  100. data/features/data/multiple_banners_fingerprints.xml +0 -32
  101. data/features/data/no_tests.xml +0 -3
  102. data/features/data/sample_banner.txt +0 -2
  103. data/features/data/successful_tests.xml +0 -18
  104. data/features/data/tests_with_failures.xml +0 -20
  105. data/features/data/tests_with_warnings.xml +0 -17
  106. data/features/match.feature +0 -36
  107. data/features/support/aruba.rb +0 -3
  108. data/features/support/env.rb +0 -6
  109. data/features/verify.feature +0 -48
  110. data/identifiers/README.md +0 -70
  111. data/identifiers/fields.txt +0 -105
  112. data/identifiers/hw_device.txt +0 -84
  113. data/identifiers/hw_family.txt +0 -121
  114. data/identifiers/hw_product.txt +0 -461
  115. data/identifiers/os_architecture.txt +0 -10
  116. data/identifiers/os_device.txt +0 -75
  117. data/identifiers/os_family.txt +0 -234
  118. data/identifiers/os_product.txt +0 -350
  119. data/identifiers/service_family.txt +0 -249
  120. data/identifiers/service_product.txt +0 -764
  121. data/identifiers/vendor.txt +0 -847
  122. data/lib/recog/verifier_factory.rb +0 -13
  123. data/misc/convert_mysql_err +0 -61
  124. data/misc/order.xsl +0 -17
  125. data/requirements.txt +0 -2
  126. data/spec/lib/fingerprint_self_test_spec.rb +0 -175
  127. data/tools/dev/hooks/pre-commit +0 -21
  128. data/update_cpes.py +0 -250
@@ -1,234 +0,0 @@
1
- 3155 Series
2
- 3165 Series
3
- 4690
4
- 760 Series
5
- A/UX
6
- AIX
7
- AR Series
8
- Accelar
9
- Access Point
10
- Adaptive Security Appliance
11
- Aficio
12
- AirPort
13
- Apple iOS
14
- Application Switch
15
- BOSS
16
- BayRS
17
- BayStack
18
- BitStorm
19
- Blade Switch
20
- BladeCenter
21
- Blue Coat
22
- Brother
23
- CM Series
24
- CS 1000
25
- CS Series
26
- CatOS
27
- Check Point
28
- Checkpoint
29
- Clariion
30
- ClickShareOS
31
- Color Laser Printer
32
- ColorQube
33
- ColorWave
34
- Comware
35
- ConnectUPS
36
- Connectrix
37
- Copier
38
- CryptoStore
39
- DG/UX
40
- DS60 Series
41
- Data ONTAP
42
- Dell Remote Access Controller
43
- DesignJet
44
- Device Server
45
- Digital Sender
46
- Digital UNIX
47
- Digital Unix
48
- DocuColor
49
- DocuPrint
50
- Document Centre
51
- Dynix
52
- EDR
53
- ERS
54
- EX
55
- Embedded
56
- Enterprise Linux
57
- Ethernet Interface
58
- Ethernet Routing Switch
59
- Extended Systems ExtendNet
60
- FRITZ!Box
61
- FRITZ!Fon
62
- FS
63
- FX Series
64
- Fiery
65
- Firewall-1
66
- Forms Printer
67
- FortiOS
68
- FrameSaver
69
- FreeBSD
70
- GigaVUE HD
71
- GigaVUE TA
72
- GranDSLAM
73
- HFA
74
- HP-UX
75
- HP3000
76
- HomeConnect
77
- HotWire
78
- I-Class
79
- ILOM
80
- IM Series
81
- IOS
82
- IP Console Switch
83
- IP KVM
84
- IPSIO
85
- IPSO
86
- IRIX
87
- Imagio
88
- Imagistics
89
- Infoprint
90
- Integrity
91
- IntelliJack
92
- Irix
93
- IronWare
94
- JetDirect
95
- Junos
96
- Laser Printer
97
- Laser Shot
98
- LaserJet
99
- LinkBuilder
100
- Linux
101
- MCNS Cable Modem
102
- MSA
103
- MT
104
- MX
105
- MX Series
106
- Mac OS
107
- Mac OS X
108
- MarkNet
109
- MatchPort
110
- MegaRAC
111
- Meridian 1
112
- Multibox
113
- Multifunction
114
- NC Series
115
- NEO
116
- NetBSD
117
- NetCache
118
- NetQue
119
- NetScaler
120
- NetVanta
121
- NetWare
122
- Netopia
123
- NetportExpress
124
- Netscaler
125
- Network Printer
126
- NetworkOS
127
- OPTI-MX
128
- OS/400
129
- OfficeConnect
130
- OpenBSD
131
- OpenServer
132
- OpenVMS
133
- OpenWRT
134
- Optra
135
- PAN-OS
136
- PIX
137
- PLC
138
- Packet-Optical
139
- PalmOS
140
- Phaser
141
- Plotwave Series
142
- PowerEdge Integrated
143
- PowerVault
144
- PrintServer
145
- Pro
146
- Pro Series
147
- ProCurve
148
- ProLiant
149
- Procurve
150
- RISC OS
151
- RT
152
- RTP Power Controller
153
- RackBotz
154
- Raptor
155
- Router
156
- RouterOS
157
- SCO UNIX
158
- SINIX
159
- SIP Device
160
- SIP Gateway
161
- SNMP-Link
162
- SSL-VPN
163
- ST9000 Series
164
- ST9600 Series
165
- SVR4
166
- SageNET
167
- Scalance
168
- ScreenOS
169
- Secure Network Access Switch
170
- Secure Router
171
- Sharp AR Series
172
- Sharp MX Series
173
- ShoreGear
174
- Solaris
175
- SonicOS
176
- SpectraComm
177
- SpeedTouch
178
- StorEdge
179
- StorageWorks
180
- Subscriber Networks
181
- Succession 1000/M
182
- SunOS
183
- Switch
184
- System Storage
185
- T3 Termination
186
- TASKalfa
187
- TDS750 Series
188
- Teradici
189
- Time Capsule
190
- TippingPoint
191
- Total Access
192
- TrafficWare
193
- UCOS
194
- UCS
195
- UDS
196
- UNIX
197
- Ultrix
198
- Unix
199
- UnixWare
200
- V1905
201
- V1910
202
- VCX
203
- VG200
204
- VMware ESX/ESXi
205
- VPN
206
- VRP
207
- Vantage
208
- VarioLink
209
- VarioPrint
210
- VoIP
211
- VxWorks
212
- WAP
213
- WLSE
214
- WaveCore
215
- WiBox
216
- Wide Format
217
- Wide Format Printer
218
- Windows
219
- WorkCentre
220
- WorkCentre Pro
221
- XC
222
- XPort
223
- XPress
224
- audioOS
225
- bizhub
226
- e-STUDIO
227
- iLO
228
- iOS
229
- iPR Series
230
- iR Series
231
- imageCLASS
232
- optiPoint
233
- tvOS
234
- z/OS
@@ -1,350 +0,0 @@
1
- 10Gb Blade Switch
2
- 1810
3
- 3155
4
- 3165
5
- 4050
6
- 4690
7
- 46xx
8
- 6400 Matrix Printer
9
- 750
10
- 761
11
- ADSL Modem
12
- AIX
13
- AMD
14
- AOS
15
- ATEN Linux
16
- Access Gateway
17
- AccessRunner ADSL router
18
- Adaptive Security Appliance
19
- AirPort Base Station Firmware
20
- AirPort Extreme
21
- Allied Telesyn router
22
- Android
23
- Appliance
24
- BSD/OS
25
- Base Station
26
- Blade System
27
- BladeCenter Advanced Management Module
28
- BladeCenter Management Module
29
- BladeSystems
30
- Brother Printer
31
- Business Policy Switch 2000
32
- C760
33
- CS 1000 Call Server
34
- CS 1000 Signaling Server
35
- CS 1000 Voice Gateway Media Card
36
- CX Data Collection Terminal
37
- Cajun Switch
38
- Call Server
39
- CatOS
40
- Celerra
41
- CentOS
42
- Checkpoint FW1
43
- Chrome OS
44
- CloudKey
45
- CoBox
46
- Cobalt RaQ
47
- CommandPost
48
- Comware
49
- ConnectUPS
50
- Cumulus Linux
51
- D2D Backup System
52
- DCS-2100
53
- DD OS
54
- DD-WRT
55
- DECserver
56
- DG/UX
57
- DNA Center
58
- DS60
59
- DSLAM Shelf
60
- DSM
61
- Data ONTAP
62
- Definity One
63
- Dell Remote Access Controller
64
- Digital Copier
65
- Digital Unix
66
- Discover
67
- Document Centre
68
- Dynix
69
- EDR G902 Firmware
70
- EDR G903 Firmware
71
- EdgeBlaster
72
- EdgeOS
73
- Email Appliance
74
- Enterprise AP
75
- Enterprise Linux
76
- Enterprise WAP
77
- EqualLogic
78
- Excella
79
- FRITZ!OS
80
- Fabric OS
81
- Fastmark M5
82
- FaxPress
83
- Fedora
84
- Fedora Core Linux
85
- Fermentrack
86
- Fiery Print Server
87
- Firepower
88
- Firewall-1
89
- Fireware
90
- FortiOS
91
- FreeBSD
92
- FreeNAS Firmware
93
- Freebox OS
94
- G2 Console Switch
95
- GAiA OS
96
- GXP1610 Firmware
97
- GXP1615 Firmware
98
- GXP1625 Firmware
99
- GXP1628 Firmware
100
- GXP2200 Firmware
101
- GigaVUE HD
102
- GigaVUE TA1
103
- GuardianOS
104
- HP-UX
105
- HT801 Firmware
106
- HT802 Firmware
107
- HT812 Firmware
108
- HT813 Firmware
109
- HT814 Firmware
110
- HT818 Firmware
111
- HiPath 3000
112
- HipServ
113
- Hydra
114
- IDP
115
- ILOM
116
- IMC
117
- IOS
118
- IPReach
119
- IPSO
120
- IRIX
121
- Integrated Lights Out Manager
122
- Irix
123
- Isilon OneFS OS
124
- JetDirect
125
- Junos OS
126
- Kamikaze
127
- KeeneticOS
128
- LORIX OS
129
- LX
130
- Linux
131
- Linux AMI
132
- Linux Enterprise Desktop
133
- Linux Enterprise Server
134
- MDS 9000
135
- MPE XL
136
- MPX100 iSCSI Bridge
137
- MSL Tape Library
138
- Mac OS
139
- Mac OS X
140
- Mac OS X Server
141
- Management Processor
142
- Media Server
143
- Meeting Management
144
- MegaRAC
145
- Mergepoint
146
- Meridian 1 Call Server
147
- Mongoose OS
148
- NAM
149
- NAS4Free
150
- NEO Tape Library
151
- NET+OS
152
- NFVIS
153
- NRG Printer
154
- NT
155
- NX-OS
156
- NetBSD
157
- NetCache
158
- NetQue
159
- NetScaler
160
- NetScaler Gateway
161
- NetScaler SDX Gateway
162
- NetVanta
163
- NetWare
164
- Netscaler Gateway Firmware
165
- Network Gateway
166
- Network Scanner
167
- Network Storage Router
168
- OS/400
169
- OS/400 (IBM i)
170
- OSF/1
171
- OSSIM
172
- OfficeConnect Cable Modem
173
- Onboard Administrator
174
- OneFS
175
- Onyx
176
- OpenBSD
177
- OpenMediaVault
178
- OpenServer
179
- OpenTV
180
- OpenVMS
181
- OpenWall
182
- PAN-OS
183
- PIX
184
- PLC-5
185
- PRO/100
186
- PacketShaper
187
- PalmOS
188
- Photon Linux
189
- PocketPro
190
- Polycom
191
- PowerVault
192
- Prestige 642R-13
193
- Prestige 645
194
- Prestige 650R-T3
195
- Prestige 660HW-61
196
- Prestige 660HW-D1
197
- Prestige 660ME-61
198
- Prime Collaboration Manager
199
- Print Server
200
- PrintServer
201
- Printer
202
- Printer Board
203
- ProLiant
204
- Prosafe Firmware
205
- Proxmox
206
- Pulse Connect Secure
207
- QTS
208
- RASExpress
209
- RDK
210
- RISC OS
211
- RT
212
- RT31P2 Firmware
213
- Raptor
214
- RecoverPoint
215
- RedHat Enterprise AS
216
- RedHat Enterprise WS
217
- RiOS
218
- Router
219
- RouterOS
220
- SCM Manager module
221
- SCO UNIX
222
- SEHI
223
- SINIX
224
- SL2100 Firmware
225
- SPA112 Firmware
226
- SPA122 Firmware
227
- SV8100 Firmware
228
- SV9100 Firmware
229
- SVR
230
- ScanFront
231
- ScreenOS
232
- Secure Linux
233
- SecureOS
234
- SmartEdge OS
235
- SmartServer
236
- SmoothWall
237
- Solaris
238
- SonicOS
239
- SoundTouch
240
- Spectrum24 Ethernet Access Point
241
- SpeedTouch
242
- Stealthwatch
243
- Storage Array
244
- Succession 1000/M Call Server
245
- SunOS
246
- SuperStack 3
247
- SuperStack 3 Firewall
248
- SuperStack II
249
- SureStore Tape Library
250
- SwOS
251
- Switch
252
- TMS zl Module
253
- TRU64
254
- Tape Systems
255
- Tasman Networks router
256
- TelePresence
257
- Tenable Core
258
- TetrationOS
259
- TimOS
260
- Time Capsule Firmware
261
- Traverse
262
- Tru64 Unix
263
- UCM6202 Firmware
264
- UCM6204 Firmware
265
- UCM6208 Firmware
266
- UCS Device
267
- UNIX
268
- USG20-VPN firmware
269
- USG40 firmware
270
- USG60 firmware
271
- Ubuntu Linux
272
- Ultrix
273
- Unified SIP Phone 3900 Firmware
274
- UnixWare
275
- VBrick Rev
276
- VIDOS-NVR
277
- VIOS
278
- VMS
279
- VMware ESX Server
280
- VMware ESXi Server
281
- VPN 3000 Concentrator
282
- VRP
283
- Virtual Library
284
- VoIP
285
- VxWorks
286
- WAP
287
- WBR204G
288
- WaveCore
289
- WebCSU
290
- Windows
291
- Windows 10
292
- Windows 10 Mobile
293
- Windows 10 or Windows Server 2016
294
- Windows 2000
295
- Windows 2000 Datacenter Server
296
- Windows 2000 Server
297
- Windows 7
298
- Windows 7 or Windows Server 2008 R2
299
- Windows 8
300
- Windows 8 or Windows Server 2012
301
- Windows 8.1
302
- Windows 8.1 or Windows Server 2012 R2
303
- Windows 95
304
- Windows CE
305
- Windows NT
306
- Windows NT Server
307
- Windows NT Workstation
308
- Windows Phone
309
- Windows Server 2000
310
- Windows Server 2003
311
- Windows Server 2003 R2
312
- Windows Server 2003, Datacenter Edition
313
- Windows Server 2008
314
- Windows Server 2008 Datacenter Edition
315
- Windows Server 2008 R2
316
- Windows Server 2008 R2, Datacenter Edition
317
- Windows Server 2012
318
- Windows Server 2012 R2
319
- Windows Server 2016
320
- Windows Server 2019
321
- Windows Vista
322
- Windows XP
323
- Wireless Controller
324
- Wireless LAN Controller
325
- WorkCentre Pro
326
- X3e 31C-M
327
- XCC Linux
328
- XOS
329
- XenServer
330
- Zentyal
331
- Zone Director
332
- ZyNOS firmware
333
- audioOS
334
- e-STUDIO
335
- eCos
336
- i5/OS
337
- iDRAC Linux
338
- iLO
339
- iLO 2
340
- iLO 3
341
- iLO 4
342
- iOS
343
- iScale
344
- im
345
- ipOS
346
- tvOS
347
- vManage
348
- vSphere Management Assistant
349
- webOS
350
- z/OS