Skip to content

Commit 7da7581

Browse files
committed
Added readme
1 parent 7123f85 commit 7da7581

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ This is a tool that attempts to enumerate the permissions shares, directories, a
66
Command Line Arguments
77
--
88
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 |
20+
21+
> TARGET and FILE are required.
1822
1923
Installation
2024
--

0 commit comments

Comments
 (0)