Skip to content

Commit 4504cf2

Browse files
committed
Add comment
1 parent 693da71 commit 4504cf2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nxc/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ def __init__(self, args, db, target):
167167
except Exception as e:
168168
if "ERROR_DEPENDENT_SERVICES_RUNNING" in str(e):
169169
self.logger.error(f"Exception while calling proto_flow() on target {target}: {e}")
170+
# Catching impacket SMB specific exceptions, which should not be imported due to performance reasons
170171
elif e.__class__.__name__ in ["NetBIOSTimeout", "NetBIOSError"]:
171172
self.logger.error(f"{e.__class__.__name__} on target {target}: {e}")
172173
else:

0 commit comments

Comments
 (0)