Skip to content

Commit 5fbf7a4

Browse files
committed
Handle NT_STATUS_CONNECTION_REFUSED listing for IPC$
1 parent 849b72c commit 5fbf7a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

enum4linux-ng.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2480,6 +2480,7 @@ def check_access(self, share):
24802480
return Result({"mapping":"denied", "listing":"n/a"}, "Mapping: DENIED, Listing: N/A")
24812481

24822482
if "NT_STATUS_INVALID_INFO_CLASS" in result.retmsg\
2483+
or "NT_STATUS_CONNECTION_REFUSED listing" in result.retmsg\
24832484
or "NT_STATUS_NETWORK_ACCESS_DENIED" in result.retmsg\
24842485
or "NT_STATUS_NOT_A_DIRECTORY" in result.retmsg\
24852486
or "NT_STATUS_NO_SUCH_FILE" in result.retmsg:

0 commit comments

Comments
 (0)