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 was 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())
...
Hi, the following code marks a patched OS as vulnerable and a vulnerable one as patched.
The
supersedencestores a list of known KBs for a particular CVE. TheinstalledKBsstores a list of KBs extracted from the target machine. Since we are enumerating for missing KBs, if none ofinstalledKBsis presented insupersedence, the OS is considered as vulnerable. I think the correct one is:Bests.