vulnersCom / api

Vulners Python API wrapper
GNU General Public License v3.0
356 stars 60 forks source link

kbAudit os format #21

Closed Jav3k closed 4 years ago

Jav3k commented 4 years ago

Hello. I can't find information about the os parameter of kbAudit method. I've tried a lot of options and I realized that only "Windows \ Version \" is suitable. Example:

Input:
os='Windows 10 Version 1903'
kb_list=['KB5343465', 'KB854344', 'KB4516115']
-------------------------
Output
'kbMissed': ['KB4495666', 'KB4498524', 'KB4517389', 'KB4521863']
'cvelist': ['CVE-2019-1318']

But haven't that "Version format" in my data. I only have OS Build number (Example 10.0.18362). Is there any way to get the result through OS Build number?

vulnersCom commented 4 years ago

For now only this version identifications as input are supported:

['Windows Server 2008 Enterprise', 'Windows Server 2008 Datacenter', 'Windows Server 2008 Standard', 'Windows Server 2008 Service Pack 2', 'Windows Server 2008 Web Edition', 'Windows Server 2008 for Itanium-Based Systems', 'Windows Vista Enterprise', 'Windows Vista Ultimate', 'Windows Vista Business', 'Windows Vista Home Basic', 'Windows Vista Home Premium', 'Windows Server 2008 R2 Datacenter', 'Windows Server 2008 R2 Enterprise', 'Windows Server 2008 R2 Standard', 'Windows Server 2008 R2 Service Pack 1', 'Windows Vista Starter', 'Windows 7 Enterprise', 'Windows Vista Service Pack 2', 'Windows 7 Service Pack 1', 'Windows 7 Ultimate', 'Windows 7 Professional', 'Windows 7 Home Premium', 'Windows 7 Home Basic', 'Windows 8.1', 'Windows Server 2008 Foundation', 'Windows Server 2012 Standard', 'Windows Server 2012 Datacenter', 'Windows Server 2012 Essentials', 'Windows Server 2012 Foundation', 'Windows Server 2012 R2 Standard', 'Windows Server 2012 R2 Datacenter', 'Windows Server 2012 R2 Essentials', 'Windows Server 2012 R2 Foundation', 'Windows 8.1 Enterprise', 'Windows 8.1 Pro', 'Microsoft Windows Server 2003 Datacenter Edition (32-bit x86)', 'Windows RT 8.1', 'Microsoft Windows Server 2003 Enterprise Edition (32-bit x86)', 'Microsoft Windows Server 2003 Datacenter x64 Edition', 'Microsoft Windows Server 2003 Enterprise x64 Edition', 'Microsoft Windows Server 2003 Standard Edition (32-bit x86)', 'Microsoft Windows Server 2003 Standard x64 Edition', 'Microsoft Windows Server 2003 Web Edition', 'Microsoft Windows Server 2003 Service Pack 2', 'Windows Server 2008 R2 Foundation', 'Microsoft Windows Server 2003 Datacenter Edition for Itanium-Based Systems', 'Windows Server 2008 R2 Web Edition', 'Microsoft Windows Server 2003 Enterprise Edition for Itanium-based Systems', 'Windows 7 Starter', 'Windows Vista Enterprise 64-bit Edition', 'Windows Vista Home Basic 64-bit Edition', 'Windows Vista Home Premium 64-bit Edition', 'Windows Vista Ultimate 64-bit Edition', 'Microsoft Office 2010 Service Pack 2', 'Windows Vista Business 64-bit Edition', 'Microsoft Windows XP Professional x64 Edition', 'Microsoft Windows XP Professional', 'Microsoft Windows XP Home Edition', 'Windows 10', 'Windows 8', 'Windows 8 Enterprise', 'Windows 8 Pro', 'Microsoft Windows XP Service Pack 3', 'Microsoft Office 2013 Service Pack 1', 'Windows RT', 'Windows 10, version 1511', 'Windows 10, version 1607', 'Microsoft SharePoint Server 2010 Service Pack 2', 'Microsoft SharePoint Server 2013 Service Pack 1', '.NET Framework 4.6', 'Windows Embedded POSReady 2009', 'Internet Explorer 9', 'Windows Server 2012', 'Windows Server 2012 R2', '.NET Framework 4.6.1', '.NET Framework', 'Internet Explorer 10', 'Internet Explorer 11', 'Windows Server 2008 Datacenter without Hyper-V', 'Windows Server 2008 Enterprise without Hyper-V', 'Microsoft Windows XP Service Pack 2', 'Office Home and Business 2016', 'Office Home and Student 2016', 'Office Professional Plus 2016', 'Office Standard 2016', 'Office Professional 2016', 'Microsoft Word 2010', 'Excel 2010', 'Windows Embedded 8 Standard', 'Windows Server 2008 Standard without Hyper-V', '.NET Framework 4.6.2', 'Lync Server 2010 Enterprise Edition', 'Lync Server 2010 Standard Edition', 'Word 2013', 'Windows Server 2016', 'Windows Embedded Standard 2009', 'Windows 10, version 1709', 'Excel 2013', 'Microsoft Windows Server 2003 Service Pack 1', '.NET Framework 3.5.1', 'Windows 10, version 1703', 'Windows 10, version 1803', 'Word 2016', 'Excel 2016', '.NET Framework 4.7', 'Microsoft Office Excel 2007', 'Windows 10, version 1809', 'Lync Server 2013', 'Windows Server 2008 R2 for Itanium-Based Systems', 'Microsoft SharePoint Foundation 2013 Service Pack 1', 'Internet Explorer 10 on Windows Server 2012', 'Internet Explorer 11 on Windows 8.1 Update', 'SharePoint Server 2016', '.NET Framework 4.7.1', 'Office Professional 2010', 'Office Professional Plus 2010', 'Exchange Server 2010 Enterprise', 'Office Home and Business 2010', 'Office Home and Student 2010', 'Office Home and Student 2013 RT', 'Office Standard 2010', 'Windows Server 2016 Standard', 'Microsoft Lync 2013', 'Microsoft Office Excel 2007 (Home and Student version)', 'Office Starter 2010', 'PowerPoint 2010', 'SharePoint Server 2013', 'Windows Server 2016 Datacenter', 'Windows Server 2016 Essentials', 'Windows Server 2019, all versions', 'Office Professional Academic 2010', 'SharePoint Server 2010', 'Exchange Server 2010 Standard', 'Internet Explorer 11 on Windows 10', 'Outlook 2016', '.NET Framework 4.5', 'Skype for Business 2016', 'Windows 10, version 1903', 'Exchange Server 2010 Service Pack 3', 'Exchange Server 2013 Enterprise', 'Lync 2010', 'Microsoft Windows XP Media Center Edition 2005', 'Office Web Apps Server 2013', 'Excel Services in SharePoint Server 2010', '.NET Framework 3.5 Service Pack 1', 'Microsoft Windows Server 2003 R2 Standard x64 Edition', '.NET Framework 4.7.2', 'Exchange Server 2013 Standard Edition', 'Microsoft Office Outlook 2007', 'System Center 2012 R2', 'Windows Server 2008', 'Windows Server version 1803', 'Exchange Server 2013 Service Pack 1', 'Microsoft Office Basic Edition 2003', 'Microsoft Office Professional Edition 2003', 'Microsoft Office Standard Edition 2003', 'Skype for Business', 'Excel Web App', 'Office Online Server - duplicate (do not use)', 'PowerPoint 2013', 'Windows', 'Windows Server 2016 Version 1709', 'Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)', 'Office Compatibility Pack Service Pack 3', 'Office Home and Business 2013', 'Office Home and Student 2013', 'Office Professional 2013', 'Office Professional Plus 2013', 'Office Standard 2013', 'Exchange Server 2016 Enterprise Edition', 'Microsoft SQL Server 2005 Enterprise Edition', 'Microsoft SQL Server 2005 Enterprise X64 Edition', 'Microsoft SQL Server 2005 Express Edition', 'Microsoft SQL Server 2005 Standard Edition', 'Microsoft SQL Server 2005 Standard X64 Edition', 'Microsoft SharePoint Foundation 2010', 'Microsoft Office PowerPoint 2007', 'Microsoft Windows XP Tablet PC Edition', 'SharePoint Server 2019', 'Silverlight', 'System Center 2012 R2 Operations Manager', 'Windows Server 2012 for Embedded Systems', 'Excel Viewer', 'InfoPath 2010', 'Lync 2010 Attendee', 'Microsoft Office Professional Enterprise Edition 2003', 'Microsoft Office Small Business Edition 2003', 'Microsoft Outlook 2010', 'Microsoft Windows Server 2003 R2 Enterprise x64 Edition', 'Publisher 2010', 'System Center 2012 R2 Data Protection Manager', 'Word Web App', 'Microsoft Office Access 2007', 'Microsoft Office Communicator 2007 R2', 'Microsoft OneNote 2010', 'Microsoft SQL Server 2005 Developer Edition', 'Microsoft SQL Server 2005 Express Edition with Advanced Services', 'Microsoft SharePoint Foundation 2010 Service Pack 2', 'Microsoft System Center 2012 R2 Virtual Machine Manager', 'Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86)', 'Office Professional Plus 2010 Home Use Program', 'Microsoft Small Business Server 2000 Standard Edition', 'Microsoft Windows Server 2003 R2 Datacenter x64 Edition', 'Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)', 'SharePoint Foundation 2013', 'Windows Embedded Standard 7', 'Access 2010', 'Groove Server 2010', 'Internet Explorer 11 on Windows 7 SP1', 'Internet Explorer 11 on Windows Server 2008 R2 SP1', 'Internet Explorer 11 on Windows Server 2012 R2', 'Internet Explorer 9 on Windows Server 2008 SP2', 'Microsoft Dynamics CRM 2011', 'Microsoft Office Excel 2003', 'Microsoft Office Publisher 2007', 'Microsoft SQL Server 2005 Workgroup Edition', 'Microsoft Visio 2010 Service Pack 2', 'Outlook 2013', 'SQL Server 2008 Developer', 'SQL Server 2008 Enterprise', 'SQL Server 2008 Express', 'SQL Server 2008 Standard', 'SQL Server 2008 Web', 'SQL Server 2014 Developer', 'SQL Server 2014 Enterprise', 'SQL Server 2014 Express', 'SQL Server 2014 Standard', 'Windows XP', 'Word for the web', 'Azure', 'Azure Backup', 'Exchange Server 2016 Standard Edition', 'Microsoft Excel for Mac 2011', 'Microsoft Office InfoPath 2007', 'Microsoft Office Word 2003', 'Microsoft System Center 2012 Operations Manager Service Pack 1', 'Microsoft Visio 2013 Service Pack 1', 'PowerPoint Viewer', 'SQL Server 2008 Express with Advanced Services', 'SQL Server 2008 R2 Developer', 'SQL Server 2008 R2 Enterprise', 'SQL Server 2008 R2 Express', 'SQL Server 2008 R2 Standard', 'SQL Server 2008 R2 Web', 'SQL Server 2008 Standard Edition for Small Business', 'SQL Server 2008 Workgroup', 'SQL Server 2012 Developer', 'SQL Server 2012 Enterprise', 'SQL Server 2012 Standard', 'SQL Server 2012 Web', 'SQL Server 2016 Developer', 'SQL Server 2016 Enterprise', 'SQL Server 2016 Enterprise Core', 'SQL Server 2016 Standard', 'Skype for Business 2015', 'Visual Studio Premium 2010', 'Visual Studio Professional 2010', 'Visual Studio Ultimate 2010', 'Excel Home and Student 2010', 'Exchange Server 2016', 'Internet Explorer 11 on Windows Server 2012', 'Microsoft Office PowerPoint 2007 (Home and Student version)', 'Microsoft Project Server 2013 Service Pack 1', 'Microsoft SQL Server 2005 Service Pack 2', 'Microsoft System Center 2012 R2 Orchestrator', 'SQL Server 2008 R2 Express with Advanced Services', 'SQL Server 2008 R2 Standard Edition for Small Business', 'SQL Server 2008 R2 Workgroup', 'Windows 7', 'Windows Server 2008 R2', 'Windows Small Business Server 2011 Standard', 'Windows Vista', 'Access 2013', 'Microsoft Office PowerPoint 2003', 'OneNote 2013', 'OneNote 2016', 'PowerPoint 2016', 'PowerPoint Web App', 'SQL Server 2008 R2 Service Pack 2', 'SQL Server 2008 Service Pack 3', 'SQL Server 2014 Web', 'SQL Server 2016 Service Pack 1', 'SQL Server 2017 on Windows', 'Unified Communications Managed API v3.0 Core Runtime', 'Visual Studio 2015 Update 3', 'Windows Server version 1903', 'Excel for the web', 'Exchange Server 2013', 'Exchange Server 2019', 'IIS Media Services 3.0', 'InfoPath 2013', 'Microsoft Office Access 2003', 'Microsoft Office Communications Server 2007 R2', 'Microsoft Office FrontPage 2003', 'Microsoft System Center 2012 Data Protection Manager Service Pack 1', 'Office Web Apps', 'PowerPoint for the web', 'Project Server 2013', 'SQL Server 2008 R2 Datacenter', 'SQL Server 2008 Service Pack 2', 'SQL Server 2012 Service Pack 3', 'SQL Server 2014 Service Pack 2', 'SharePoint Designer 2010', 'SharePoint Designer 2013', 'System Center 2012 Advisor', 'System Center 2016 Data Protection Manager', 'System Center 2016 Operations Manager', 'System Center 2016 Virtual Machine Manager', 'Visio Professional 2016', 'Visio Standard 2016', 'Windows MultiPoint Server 2011 Premium', 'Windows MultiPoint Server 2011 Standard', 'Windows Server version 1809', 'Windows Storage Server 2008 R2 Essentials', 'Access 2016', 'Dynamics CRM 2013', 'Lync Basic 2013', 'Microsoft Dynamics CRM 2013 Service Pack 1', 'Microsoft Office Project Professional 2003', 'Microsoft Office Project Standard 2003', 'Microsoft Office Publisher 2003', 'Microsoft Office Visio Professional 2007', 'Microsoft Office Visio Standard 2007', 'Microsoft Project 2010 Service Pack 2', 'Microsoft Project Server 2010 Service Pack 2', 'Microsoft Windows Server 2003', 'Project Professional 2016', 'Project Server 2010', 'Project Standard 2016', 'Visio Professional 2010', 'Visio Standard 2010', 'Windows 10 Education released in July 2015', 'Windows 10 Home', 'Windows 10 Pro released in July 2015', 'Windows Small Business Server 2008 Premium', 'Windows Small Business Server 2008 Standard', 'Windows Small Business Server 2011 Essentials', 'Windows Vista Business N', 'Windows Vista Home Basic N', '.NET Framework 4.5.2', 'Exchange Server 2010', 'FAST Search Server 2010 for SharePoint', 'Microsoft BizTalk Server 2002 Enterprise Edition', 'Microsoft Expression Design', 'Microsoft Office OneNote 2003', 'Microsoft Office Outlook 2003', 'Microsoft SQL Server 2005 Service Pack 3', 'Microsoft SQL Server 2005 Service Pack 4', 'Microsoft System Center 2012 Operations Manager', 'Microsoft System Center 2012 Orchestrator Service Pack 1', 'Microsoft Windows XP Media Center Edition 2004', 'Office Home & Business 2016 for Mac', 'Office Home & Student 2016 for Mac', 'Office Standard 2016 for Mac', 'Project 2013 Standard', 'Project Professional 2010', 'Project Professional 2013', 'Project Standard 2010', 'SQL Server 2008 R2 Service Pack 3', 'SQL Server 2008 Service Pack 4', 'SQL Server 2012 Analysis Services', 'SQL Server 2012 Business Intelligence', 'SQL Server 2012 Express', 'SQL Server 2014 Business Intelligence', 'SQL Server 2016', 'System Center 2012 Virtual Machine Manager', 'System Center 2016 Orchestrator', 'Unified Communications Managed API 4.0 Runtime', 'Visio Premium 2010', 'Visio Viewer', 'Visual Studio 2013 Update 5', 'Windows Multipoint Server 2012 Premium', 'Windows Vista Business N 64-bit Edition', 'Windows Vista Home Basic N 64-bit Edition', 'Advanced Threat Analytics', 'Audit and Control Management Server 2013', 'Commerce Server 2009 Enterprise', 'Commerce Server 2009 R2 Enterprise', 'Commerce Server 2009 R2 Standard', 'Commerce Server 2009 Standard', 'Exchange Server 2003 Service Pack 2', 'Expression Design 2', 'Expression Design 3', 'Forefront Threat Management Gateway 2010 Enterprise', 'Forefront Threat Management Gateway 2010 Standard', 'Host Integration Server 2009', 'Hyper-V Server 2008', 'IIS Media Services 2.0', 'Lync 2010 Attendant', 'Lync Web App', 'Microsoft Expression Web', 'Microsoft Expression Web 2', 'Microsoft Host Integration Server 2010', 'Microsoft Hyper-V Server 2008 R2', 'Microsoft Office Project Server 2007', 'Microsoft Office Visio Professional 2003', 'Microsoft Office Visio Standard 2003', 'Microsoft Outlook 2013 Service Pack 1', 'Microsoft Publisher 2016', 'Microsoft System Center 2012 Virtual Machine Manager Service Pack 1', 'Microsoft System Center Virtual Machine Manager 2008 R2', 'Microsoft System Center Virtual Machine Manager 2008 R2 Service Pack 1', 'Microsoft Windows Media Player 9 Series', 'Microsoft Windows XP Tablet PC Edition 2005', 'Office 2007', 'Office Online Server', 'OneNote Home and Student 2010', 'OneNote for the web', 'Outlook 2010', 'Publisher 2013', 'SQL Server 2014', 'SQL Server 2014 Enterprise Core', 'SQL Server 2016 Express', 'SQL Server 2016 Service Pack 2', 'SQL Server 2017 on Linux', 'Skype for Business Server 2015', 'System Center', 'TFS 2010 Service Pack 1', 'Visio Professional 2013', 'Visio Standard 2013', 'Visual Studio 2012', 'Visual Studio 2012 Update 5', 'Windows 7 Enterprise N', 'Windows 7 Professional N', 'Windows 7 Starter N', 'Windows 7 Ultimate N', 'Windows 8.1 Pro N', 'Windows Media Player 10', 'Windows Media Player 11', 'Windows Server 2012 R2 Preview', 'ASP.NET MVC 2.0', 'Access', 'App-V 4.6 for Terminal Services', 'App-V 5.0 for Remote Desktop Services', 'App-V 5.0 for Windows Desktops', 'BizTalk Server', 'BizTalk Server 2013 Branch', 'BizTalk Server 2013 Developer', 'BizTalk Server 2013 Enterprise', 'BizTalk Server 2013 R2 Branch', 'BizTalk Server 2013 R2 Developer', 'BizTalk Server 2013 R2 Enterprise', 'BizTalk Server 2013 R2 Standard', 'BizTalk Server 2013 Standard', 'BizTalk Server Branch 2010', 'BizTalk Server Developer 2010', 'BizTalk Server Enterprise 2010', 'BizTalk Server Standard 2010', 'Duet Enterprise for Microsoft SharePoint and SAP Server 2.0', 'Dynamics CRM 2015', 'Enterprise Portal Framework', 'Excel Mobile for Windows 10', 'Expression Web 4', 'Forefront Identity Manager 2010', 'Forefront Identity Manager 2010 R2', 'Forefront Threat Management Gateway 2010 - duplicate (do not use)', 'Forefront Unified Access Gateway 2010', 'Internet Explorer 10 on Other Operating Systems', 'Internet Explorer 11 on Other Operating Systems', 'Internet Explorer 9 on Other Operating Systems', 'Lync Server', 'Microsoft Application Virtualization 4.6 Sequencer', 'Microsoft Application Virtualization 4.6 for Windows Desktops', 'Microsoft Dynamics AX 2009 Service Pack 1', 'Microsoft Dynamics AX 4.0', 'Microsoft Edge', 'Microsoft Forefront Threat Management Gateway Medium Business Edition', 'Microsoft Forefront Unified Access Gateway 2010 Service Pack 1', 'Microsoft System Center 2012 App Controller Service Pack 1', 'Microsoft System Center 2012 Service Manager Service Pack 1', 'Microsoft System Center Configuration Manager 2007', 'Microsoft System Center Virtual Machine Manager 2008', 'Microsoft Virtual PC 2007 Service Pack 1', 'Microsoft Virtual Server 2005 Enterprise Edition', 'Microsoft Virtual Server 2005 R2 Service Pack 1', 'Microsoft Virtual Server 2005 Standard Edition', 'Microsoft Windows XP Media Center Edition 2002', 'Microsoft Windows XP Starter Edition', 'Office 2003', 'Office Products', 'Office Servers', 'Outlook 2010 with Business Contact Manager', 'Outlook Mail & Calendar Apps for Windows 10', 'PowerPoint Home and Student 2010', 'PowerPoint Mobile for Windows 10', 'SQL Server 2008 R2 PowerPivot for Excel 2010', 'SQL Server 2016 Web', 'Search Server 2010', 'SharePoint Workspace 2010', 'Skype Room Systems', 'System Center Data Protection Manager 2010', 'System Center Operations Manager 2007 R2', 'TFS 2013', 'Unified Communications Managed API Software Development Kit', 'Unified Communications Managed API v3.0 Software Development Kit', 'Virtual PC 2007', 'Visio 2016', 'Visual C++ 2010 Express', 'Visual Studio 2010', 'Visual Studio 2010 Agents', 'Visual Studio 2010 Service Pack 1', 'Visual Studio Express 2015 for Windows 10', 'Visual Studio Test Professional 2010', 'Windows 10 Enterprise 2015 LTSB', 'Windows 10 IoT Core', 'Windows 10 IoT Enterprise 2015 LTSB', 'Windows 10 IoT Mobile Enterprise', 'Windows 10 Mobile', 'Windows 10 Mobile Enterprise, released in November 2015', 'Windows 10 Mobile, released in November 2015', 'Windows 7 Release Candidate', 'Windows 8 Enterprise N', 'Windows 8 N', 'Windows 8 Pro N', 'Windows 8.1 N/K with Bing', 'Windows 8.1 Pro for EDU', 'Windows 8.1 RTM', 'Windows 8.1 with Bing', 'Windows Admin Center', 'Windows Embedded 8 Industry Enterprise', 'Windows Embedded 8 Industry Pro', 'Windows Embedded 8 Pro', 'Windows Embedded POSReady 7', 'Windows Embedded Standard 7 Service Pack 1', 'Windows HPC Server 2008 R2', 'Windows Installer 4.5', 'Windows SDK for Windows 10', 'Windows SDK for Windows 8.1', 'Windows Server 2003', 'Word 2010', 'Word Home and Student 2010', 'Word Mobile for Windows 10']

Jav3k commented 4 years ago

Thanks for quick answer. I will close this issue