You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,19 @@ This is a tool that attempts to enumerate the permissions shares, directories, a
6
6
Command Line Arguments
7
7
--
8
8
Usage: shareenum -o FILE TARGET
9
-
| Option | Description | Required | Default |
10
-
| TARGET | Full path or a file of paths to list the shares, files and directories within. Can be just an IP, a hostname, or even a full path inside a share, such as smb://COOL-DC.DOMAIN/NETLOGON. | Yes | N/A |
11
-
|-o FILE | File to write results to in CSV format. | Yes | N/A |
12
-
|-u USER | Username, otherwise go anonymous. If using a domain, it should be in the format of DOMAIN\\user. || Null Session |
13
-
|-p PASS | Password, otherwise go anonymous. This can be a NTLM has in the format LMHASH:NTLMHASH. If so, we'll pass the hash. || Null Session |
14
-
|-r NUM | How many levels into the share or directory should we go. Depending on the setting, this can pull a listing of every file and directory. || No Recursion (1 level) |
15
-
|-t NUM | Seconds to wait before connection timeout. || 3 seconds |
16
-
|-s NUM | In the event that the scan needs restarted, skip the first NUM lines in the input file. All output will be appended to the output file so previous results will not be lost. || First Line |
17
-
|-d NUM | How many seconds should we wait between each target. || No Delay (0 Seconds) |
9
+
10
+
| Option | Description | Default |
11
+
| --- | --- | --- |
12
+
| TARGET | Full path or a file of paths to list the shares, files and directories within. Can be just an IP, a hostname, or even a full path inside a share, such as smb://COOL-DC.DOMAIN/NETLOGON. ||
13
+
|-o FILE | File to write results to in CSV format. ||
14
+
|-u USER | Username, otherwise go anonymous. If using a domain, it should be in the format of DOMAIN\\user. | Null Session |
15
+
|-p PASS | Password, otherwise go anonymous. This can be a NTLM has in the format LMHASH:NTLMHASH. If so, we'll pass the hash. | Null Session |
16
+
|-r NUM | How many levels into the share or directory should we go. Depending on the setting, this can pull a listing of every file and directory. | No Recursion |
17
+
|-t NUM | Seconds to wait before connection timeout. | 3 seconds |
18
+
|-s NUM | In the event that the scan needs restarted, skip the first NUM lines in the input file. All output will be appended to the output file so previous results will not be lost. | First Line |
19
+
|-d NUM | How many seconds should we wait between each target. | No Delay |
0 commit comments