From 33ecfb19655e6eb1a5350d57a8fea0bdc7d43c3f Mon Sep 17 00:00:00 2001 From: Alexander Neff Date: Mon, 6 Jan 2025 08:43:22 -0500 Subject: [PATCH] Remove old smbv1 check --- nxc/modules/enum_av.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nxc/modules/enum_av.py b/nxc/modules/enum_av.py index 5946bd15e..8a7425569 100644 --- a/nxc/modules/enum_av.py +++ b/nxc/modules/enum_av.py @@ -84,10 +84,7 @@ def detect_running_processes(self, context, connection, results): prod_results = results.setdefault(product["name"], {}) prod_results.setdefault("pipes", []).append(pipe) except Exception as e: - if "STATUS_ACCESS_DENIED" in str(e): - context.log.fail("Error STATUS_ACCESS_DENIED while enumerating pipes, probably due to using SMBv1") - else: - context.log.fail(str(e)) + context.log.fail(str(e)) def dump_results(self, results, context): if not results: