You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.
Hi, the following code marks a patched OS as vulnerable and a vulnerable one as patched.
...
if (supersedence.Intersect(installedKBs).Any())
{
vulnerabilities.SetAsVulnerable(name);
}
...
The supersedence stores a list of known KBs for a particular CVE. The installedKBs stores a list of KBs extracted from the target machine. Since we are enumerating for missing KBs, if none of installedKBs is presented in supersedence, the OS is considered as vulnerable. I think the correct one is:
...
if (!supersedence.Intersect(installedKBs).Any())
...
Bests.
The text was updated successfully, but these errors were encountered:
Hi, the following code marks a patched OS as vulnerable and a vulnerable one as patched.
The
supersedence
stores a list of known KBs for a particular CVE. TheinstalledKBs
stores a list of KBs extracted from the target machine. Since we are enumerating for missing KBs, if none ofinstalledKBs
is presented insupersedence
, the OS is considered as vulnerable. I think the correct one is:Bests.
The text was updated successfully, but these errors were encountered: