From 138f60607d7e31bfdbabb3bc2416ffad4352be2d Mon Sep 17 00:00:00 2001 From: Alexander Neff Date: Thu, 12 Mar 2026 05:11:29 -0400 Subject: [PATCH] Add UBR to debug output --- nxc/modules/enum_cve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/modules/enum_cve.py b/nxc/modules/enum_cve.py index c28c2bf5..c78c2361 100644 --- a/nxc/modules/enum_cve.py +++ b/nxc/modules/enum_cve.py @@ -97,7 +97,7 @@ class NXCModule: else: context.log.highlight(f"{cve.upper()} - {self.CVE_PATCHES[cve]['alias']} - {message}") else: - context.log.info(f"Not vulnerable to {self.CVE_PATCHES[cve]['alias']} (UBR >= {self.CVE_PATCHES[cve]['patches'].get((connection.server_os_major, connection.server_os_minor, connection.server_os_build), 'unknown')})") + context.log.info(f"Not vulnerable to {self.CVE_PATCHES[cve]['alias']} (UBR {ubr} >= {self.CVE_PATCHES[cve]['patches'].get((connection.server_os_major, connection.server_os_minor, connection.server_os_build), 'unknown')})") # patches: key = (major, minor, build), value = minimum patched UBR CVE_PATCHES = {