Skip to content

Commit

Permalink
Remove old smbv1 check
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack committed Jan 6, 2025
1 parent c8160b6 commit 33ecfb1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nxc/modules/enum_av.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 33ecfb1

Please sign in to comment.