Skip to content

Commit 2dab43b

Browse files
committed
Catch ERRSRV/ERRaccess for SMBv1 - spotted on Kioptrix
1 parent 647008a commit 2dab43b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

enum4linux-ng.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@
212212
# This is a rather strange status which needs more examination and might be
213213
# removed from here in the future.
214214
"STATUS_CONNECTION_DISCONNECTED",
215-
"WERR_ACCESS_DENIED"
215+
"WERR_ACCESS_DENIED",
216+
# This error code is from the depths of CIFS/SMBv1
217+
# https://tools.ietf.org/id/draft-leach-cifs-v1-spec-01.txt
218+
"ERRSRV:ERRaccess"
216219
]
217220

218221
# Mapping from errno to string for socket errors we often come across

0 commit comments

Comments
 (0)