recog 2.3.21 → 3.0.1

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 (120) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +42 -16
  4. data/Rakefile +2 -9
  5. data/lib/recog/db.rb +2 -1
  6. data/lib/recog/db_manager.rb +1 -1
  7. data/lib/recog/fingerprint.rb +33 -6
  8. data/lib/recog/fingerprint_parse_error.rb +10 -0
  9. data/lib/recog/verifier.rb +9 -9
  10. data/lib/recog/verify_reporter.rb +17 -6
  11. data/lib/recog/version.rb +1 -1
  12. data/{bin → recog/bin}/recog_match +0 -1
  13. data/{xml → recog/xml}/apache_modules.xml +0 -0
  14. data/{xml → recog/xml}/apache_os.xml +98 -56
  15. data/{xml → recog/xml}/architecture.xml +15 -1
  16. data/recog/xml/dhcp_vendor_class.xml +206 -0
  17. data/{xml → recog/xml}/dns_versionbind.xml +16 -13
  18. data/{xml → recog/xml}/favicons.xml +297 -47
  19. data/{xml → recog/xml}/fingerprints.xsd +9 -1
  20. data/{xml → recog/xml}/ftp_banners.xml +160 -156
  21. data/{xml → recog/xml}/h323_callresp.xml +101 -101
  22. data/{xml → recog/xml}/hp_pjl_id.xml +84 -84
  23. data/{xml → recog/xml}/html_title.xml +727 -34
  24. data/{xml → recog/xml}/http_cookies.xml +160 -77
  25. data/{xml → recog/xml}/http_servers.xml +556 -283
  26. data/{xml → recog/xml}/http_wwwauth.xml +190 -75
  27. data/{xml → recog/xml}/imap_banners.xml +5 -5
  28. data/{xml → recog/xml}/ldap_searchresult.xml +0 -0
  29. data/{xml → recog/xml}/mdns_device-info_txt.xml +389 -26
  30. data/{xml → recog/xml}/mdns_workstation_txt.xml +0 -0
  31. data/{xml → recog/xml}/mysql_banners.xml +1 -1
  32. data/{xml → recog/xml}/mysql_error.xml +0 -0
  33. data/{xml → recog/xml}/nntp_banners.xml +11 -8
  34. data/{xml → recog/xml}/ntp_banners.xml +97 -97
  35. data/{xml → recog/xml}/operating_system.xml +95 -80
  36. data/{xml → recog/xml}/pop_banners.xml +23 -23
  37. data/{xml → recog/xml}/rsh_resp.xml +3 -3
  38. data/{xml → recog/xml}/rtsp_servers.xml +0 -0
  39. data/{xml → recog/xml}/sip_banners.xml +43 -5
  40. data/{xml → recog/xml}/sip_user_agents.xml +175 -27
  41. data/{xml → recog/xml}/smb_native_lm.xml +5 -5
  42. data/{xml → recog/xml}/smb_native_os.xml +25 -25
  43. data/{xml → recog/xml}/smtp_banners.xml +147 -146
  44. data/{xml → recog/xml}/smtp_debug.xml +0 -0
  45. data/{xml → recog/xml}/smtp_ehlo.xml +1 -1
  46. data/{xml → recog/xml}/smtp_expn.xml +0 -0
  47. data/{xml → recog/xml}/smtp_help.xml +11 -11
  48. data/{xml → recog/xml}/smtp_mailfrom.xml +0 -0
  49. data/{xml → recog/xml}/smtp_noop.xml +2 -2
  50. data/{xml → recog/xml}/smtp_quit.xml +0 -0
  51. data/{xml → recog/xml}/smtp_rcptto.xml +0 -0
  52. data/{xml → recog/xml}/smtp_rset.xml +0 -0
  53. data/{xml → recog/xml}/smtp_turn.xml +0 -0
  54. data/{xml → recog/xml}/smtp_vrfy.xml +0 -0
  55. data/{xml → recog/xml}/snmp_sysdescr.xml +1570 -1430
  56. data/{xml → recog/xml}/snmp_sysobjid.xml +38 -27
  57. data/{xml → recog/xml}/ssh_banners.xml +16 -10
  58. data/{xml → recog/xml}/telnet_banners.xml +238 -21
  59. data/{xml → recog/xml}/tls_jarm.xml +56 -6
  60. data/{xml → recog/xml}/x11_banners.xml +3 -3
  61. data/{xml → recog/xml}/x509_issuers.xml +49 -1
  62. data/{xml → recog/xml}/x509_subjects.xml +139 -38
  63. data/recog.gemspec +9 -5
  64. data/spec/data/external_example_fingerprint/hp_printer_ex_01.txt +1 -0
  65. data/spec/data/external_example_fingerprint/hp_printer_ex_02.txt +1 -0
  66. data/spec/data/external_example_fingerprint.xml +8 -0
  67. data/spec/data/external_example_illegal_path_fingerprint.xml +7 -0
  68. data/spec/lib/recog/db_spec.rb +84 -61
  69. data/spec/lib/recog/fingerprint_spec.rb +4 -4
  70. data/spec/lib/recog/verify_reporter_spec.rb +73 -4
  71. data/spec/spec_helper.rb +4 -0
  72. metadata +65 -134
  73. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -37
  74. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
  75. data/.github/ISSUE_TEMPLATE/fingerprint_request.md +0 -27
  76. data/.github/PULL_REQUEST_TEMPLATE +0 -24
  77. data/.github/SECURITY.md +0 -35
  78. data/.github/workflows/ci.yml +0 -26
  79. data/.gitignore +0 -23
  80. data/.rspec +0 -3
  81. data/.ruby-gemset +0 -1
  82. data/.ruby-version +0 -1
  83. data/.snyk +0 -10
  84. data/.travis.yml +0 -25
  85. data/CONTRIBUTING.md +0 -270
  86. data/bin/recog_cleanup +0 -16
  87. data/bin/recog_export +0 -81
  88. data/bin/recog_standardize +0 -148
  89. data/bin/recog_verify +0 -64
  90. data/cpe-remap.yaml +0 -343
  91. data/features/data/failing_banners_fingerprints.xml +0 -20
  92. data/features/data/matching_banners_fingerprints.xml +0 -23
  93. data/features/data/multiple_banners_fingerprints.xml +0 -32
  94. data/features/data/no_tests.xml +0 -3
  95. data/features/data/sample_banner.txt +0 -2
  96. data/features/data/successful_tests.xml +0 -18
  97. data/features/data/tests_with_failures.xml +0 -20
  98. data/features/data/tests_with_warnings.xml +0 -17
  99. data/features/match.feature +0 -36
  100. data/features/support/aruba.rb +0 -3
  101. data/features/support/env.rb +0 -6
  102. data/features/verify.feature +0 -48
  103. data/identifiers/README.md +0 -70
  104. data/identifiers/fields.txt +0 -104
  105. data/identifiers/hw_device.txt +0 -78
  106. data/identifiers/hw_family.txt +0 -113
  107. data/identifiers/hw_product.txt +0 -410
  108. data/identifiers/os_architecture.txt +0 -10
  109. data/identifiers/os_device.txt +0 -75
  110. data/identifiers/os_family.txt +0 -233
  111. data/identifiers/os_product.txt +0 -340
  112. data/identifiers/service_family.txt +0 -249
  113. data/identifiers/service_product.txt +0 -752
  114. data/identifiers/vendor.txt +0 -798
  115. data/lib/recog/verifier_factory.rb +0 -13
  116. data/misc/convert_mysql_err +0 -61
  117. data/misc/order.xsl +0 -17
  118. data/requirements.txt +0 -2
  119. data/spec/lib/fingerprint_self_test_spec.rb +0 -174
  120. data/update_cpes.py +0 -250
@@ -1,75 +0,0 @@
1
- ADSL Modem
2
- ADSL Router
3
- ATM DSL Unit
4
- Alarm Panel
5
- Appliance
6
- Broadband Router
7
- CSU/DSU
8
- Cable Modem
9
- Check Scanner
10
- Copier
11
- DSL Modem
12
- DSLAM
13
- DSU/CSU
14
- DVR
15
- Device Server
16
- Fax Server
17
- Firewall
18
- Frame Relay
19
- HMI Controller
20
- HiPath
21
- Hub
22
- Hypervisor
23
- IDS
24
- IP Camera
25
- IPS
26
- KVM
27
- Lights Out Management
28
- Linux
29
- Load Balancer
30
- Mainframe
31
- Management Processor
32
- Media Gateway
33
- Mobile
34
- Monitoring
35
- Multifunction Device
36
- Multiplexer
37
- NAC
38
- NAS
39
- Network
40
- Network Audio
41
- Network Management Device
42
- Network Scanner
43
- Onboard Administrator
44
- PDU
45
- PLC
46
- Point of Sale
47
- Power Device
48
- Print Server
49
- Printer
50
- Remote Access Server
51
- Remote Terminal
52
- Router
53
- SD-WAN Appliance
54
- SIP Device
55
- SIP Gateway
56
- SSL-VPN
57
- Scanner
58
- Security Appliance
59
- Storage
60
- Switch
61
- Tape library
62
- Test Instrument
63
- UPS
64
- USB Server
65
- UnixWare
66
- VPN
67
- Video Conferencing
68
- ViewStation
69
- VoIP
70
- VoIP Switch
71
- WAN Accelerator
72
- WAP
73
- Web Proxy
74
- Wireless Controller
75
- Wireless Presenter
@@ -1,233 +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
- Time Capsule
189
- TippingPoint
190
- Total Access
191
- TrafficWare
192
- UCOS
193
- UCS
194
- UDS
195
- UNIX
196
- Ultrix
197
- Unix
198
- UnixWare
199
- V1905
200
- V1910
201
- VCX
202
- VG200
203
- VMware ESX/ESXi
204
- VPN
205
- VRP
206
- Vantage
207
- VarioLink
208
- VarioPrint
209
- VoIP
210
- VxWorks
211
- WAP
212
- WLSE
213
- WaveCore
214
- WiBox
215
- Wide Format
216
- Wide Format Printer
217
- Windows
218
- WorkCentre
219
- WorkCentre Pro
220
- XC
221
- XPort
222
- XPress
223
- audioOS
224
- bizhub
225
- e-STUDIO
226
- iLO
227
- iOS
228
- iPR Series
229
- iR Series
230
- imageCLASS
231
- optiPoint
232
- tvOS
233
- z/OS
@@ -1,340 +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
- Fiery Print Server
86
- Firepower
87
- Firewall-1
88
- Fireware
89
- FortiOS
90
- FreeBSD
91
- G2 Console Switch
92
- GAiA OS
93
- GXP1610 Firmware
94
- GXP1615 Firmware
95
- GXP1625 Firmware
96
- GXP1628 Firmware
97
- GXP2200 Firmware
98
- GigaVUE HD
99
- GigaVUE TA1
100
- GuardianOS
101
- HP-UX
102
- HT801 Firmware
103
- HT802 Firmware
104
- HT812 Firmware
105
- HT813 Firmware
106
- HT814 Firmware
107
- HT818 Firmware
108
- HiPath 3000
109
- HipServ
110
- Hydra
111
- IDP
112
- ILOM
113
- IMC
114
- IOS
115
- IPReach
116
- IPSO
117
- IRIX
118
- Integrated Lights Out Manager
119
- Irix
120
- Isilon OneFS OS
121
- JetDirect
122
- Junos OS
123
- Kamikaze
124
- KeeneticOS
125
- LX
126
- Linux
127
- Linux AMI
128
- Linux Enterprise Desktop
129
- Linux Enterprise Server
130
- MDS 9000
131
- MPE XL
132
- MPX100 iSCSI Bridge
133
- MSL Tape Library
134
- Mac OS
135
- Mac OS X
136
- Mac OS X Server
137
- Management Processor
138
- Meeting Management
139
- MegaRAC
140
- Mergepoint
141
- Meridian 1 Call Server
142
- NAM
143
- NAS4Free
144
- NEO Tape Library
145
- NET+OS
146
- NFVIS
147
- NRG Printer
148
- NT
149
- NX-OS
150
- NetBSD
151
- NetCache
152
- NetQue
153
- NetScaler
154
- NetScaler Gateway
155
- NetScaler SDX Gateway
156
- NetVanta
157
- NetWare
158
- Netscaler Gateway Firmware
159
- Network Gateway
160
- Network Scanner
161
- Network Storage Router
162
- OS/400
163
- OS/400 (IBM i)
164
- OSF/1
165
- OSSIM
166
- OfficeConnect Cable Modem
167
- Onboard Administrator
168
- OneFS
169
- OpenBSD
170
- OpenMediaVault
171
- OpenServer
172
- OpenTV
173
- OpenVMS
174
- OpenWall
175
- PAN-OS
176
- PIX
177
- PLC-5
178
- PRO/100
179
- PacketShaper
180
- PalmOS
181
- Photon Linux
182
- PocketPro
183
- Polycom
184
- PowerVault
185
- Prestige 642R-13
186
- Prestige 645
187
- Prestige 650R-T3
188
- Prestige 660HW-61
189
- Prestige 660HW-D1
190
- Prestige 660ME-61
191
- Prime Collaboration Manager
192
- Print Server
193
- PrintServer
194
- Printer
195
- Printer Board
196
- ProLiant
197
- Prosafe Firmware
198
- Proxmox
199
- Pulse Connect Secure
200
- QTS
201
- RASExpress
202
- RDK
203
- RISC OS
204
- RT
205
- RT31P2 Firmware
206
- Raptor
207
- RecoverPoint
208
- RedHat Enterprise AS
209
- RedHat Enterprise WS
210
- RiOS
211
- Router
212
- RouterOS
213
- SCM Manager module
214
- SCO UNIX
215
- SEHI
216
- SINIX
217
- SL2100 Firmware
218
- SPA112 Firmware
219
- SPA122 Firmware
220
- SV8100 Firmware
221
- SV9100 Firmware
222
- SVR
223
- ScanFront
224
- ScreenOS
225
- Secure Linux
226
- SecureOS
227
- SmartEdge OS
228
- SmartServer
229
- SmoothWall
230
- Solaris
231
- SonicOS
232
- SoundTouch
233
- Spectrum24 Ethernet Access Point
234
- SpeedTouch
235
- Stealthwatch
236
- Storage Array
237
- Succession 1000/M Call Server
238
- SunOS
239
- SuperStack 3
240
- SuperStack 3 Firewall
241
- SuperStack II
242
- SureStore Tape Library
243
- Switch
244
- TMS zl Module
245
- TRU64
246
- Tape Systems
247
- Tasman Networks router
248
- TelePresence
249
- Tenable Core
250
- TetrationOS
251
- TimOS
252
- Time Capsule Firmware
253
- Traverse
254
- Tru64 Unix
255
- UCM6202 Firmware
256
- UCM6204 Firmware
257
- UCM6208 Firmware
258
- UCS Device
259
- UNIX
260
- USG20-VPN firmware
261
- USG40 firmware
262
- USG60 firmware
263
- Ubuntu Linux
264
- Ultrix
265
- UnixWare
266
- VBrick Rev
267
- VIDOS-NVR
268
- VIOS
269
- VMS
270
- VMware ESX Server
271
- VMware ESXi Server
272
- VPN 3000 Concentrator
273
- VRP
274
- Virtual Library
275
- VoIP
276
- VxWorks
277
- WAP
278
- WBR204G
279
- WaveCore
280
- WebCSU
281
- Windows
282
- Windows 10
283
- Windows 10 Mobile
284
- Windows 10 or Windows Server 2016
285
- Windows 2000
286
- Windows 2000 Datacenter Server
287
- Windows 2000 Server
288
- Windows 7
289
- Windows 7 or Windows Server 2008 R2
290
- Windows 8
291
- Windows 8 or Windows Server 2012
292
- Windows 8.1
293
- Windows 8.1 or Windows Server 2012 R2
294
- Windows 95
295
- Windows CE
296
- Windows NT
297
- Windows NT Server
298
- Windows NT Workstation
299
- Windows Phone
300
- Windows Server 2000
301
- Windows Server 2003
302
- Windows Server 2003 R2
303
- Windows Server 2003, Datacenter Edition
304
- Windows Server 2008
305
- Windows Server 2008 Datacenter Edition
306
- Windows Server 2008 R2
307
- Windows Server 2008 R2, Datacenter Edition
308
- Windows Server 2012
309
- Windows Server 2012 R2
310
- Windows Server 2016
311
- Windows Server 2019
312
- Windows Vista
313
- Windows XP
314
- Wireless Controller
315
- Wireless LAN Controller
316
- WorkCentre Pro
317
- X3e 31C-M
318
- XCC Linux
319
- XOS
320
- XenServer
321
- Zentyal
322
- Zone Director
323
- ZyNOS firmware
324
- audioOS
325
- e-STUDIO
326
- eCos
327
- i5/OS
328
- iDRAC Linux
329
- iLO
330
- iLO 2
331
- iLO 3
332
- iLO 4
333
- iOS
334
- iScale
335
- im
336
- ipOS
337
- tvOS
338
- vManage
339
- vSphere Management Assistant
340
- z/OS