@@ -6,13 +6,8 @@ Built upon [djhohnstein's SharpShares](https://github.com/djhohnstein/SharpShare
66```
77> .\SharpShares.exe help
88
9- █▀ █ █ ▄▀█ █▀█ █▀█ █▀ █ █ ▄▀█ █▀█ █▀▀ █▀
10- ▄█ █▀█ █▀█ █▀▄ █▀▀ ▄█ █▀█ █▀█ █▀▄ ██▄ ▄█
11-
129Usage:
13- SharpShares.exe
14- or w/ optional arguments:
15- SharpShares.exe /threads:50 /ldap:servers /ou:"OU=Special Servers,DC=example,DC=local" /filter /verbose /outfile:C:\path\to\file.txt
10+ SharpShares.exe /threads:50 /ldap:servers /ou:"OU=Special Servers,DC=example,DC=local" /filter:SYSVOL,NETLOGON,IPC$,PRINT$ /verbose /outfile:C:\path\to\file.txt
1611
1712Optional Arguments:
1813 /threads - specify maximum number of parallel threads (default=25)
@@ -24,7 +19,9 @@ Optional Arguments:
2419 :servers-exclude-dc - All enabled servers excluding DCs
2520 /ou - specify LDAP OU to query enabled computer objects from
2621 ex: "OU=Special Servers,DC=example,DC=local"
27- /filter - exclude SYSVOL, NETLOGON, and print$ shares
22+ /stealth - list share names without performing read/write access checks
23+ /filter - list of comma-separated shares to exclude from enumeration
24+ recommended: SYSVOL,NETLOGON,IPC$,print$
2825 /outfile - specify file for shares to be appended to instead of printing to std out
2926 /verbose - return unauthorized shares
3027```
@@ -35,16 +32,18 @@ execute-assembly /path/to/SharpShares.exe
3532```
3633## Example Output
3734```
35+ [+] LDAP Search Description: All enabled computers with primary group 'Domain Computers'
36+ [+] LDAP Search Results: 10
3837[+] Parsed Aguments:
3938 threads: 25
4039 ldap: all
4140 ou: none
42- filter: False
41+ filter: SYSVOL,NETLOGON,IPC$,PRINT$
42+ stealth: False
4343 verbose: False
4444 outfile:
45- [+] LDAP Search Description: All enabled computers with primary group 'Domain Computers'
46- [+] LDAP Search Results: 10
47- [*] Collected 10 enabled computer objects.
45+
46+ [*] Excluding SYSVOL,NETLOGON,IPC$,PRINT$ shares
4847[*] Starting share enumeration with thread limit of 25
4948[r] = Readable Share
5049[w] = Writeable Share
@@ -53,9 +52,7 @@ execute-assembly /path/to/SharpShares.exe
5352[r] \\DC-01\CertEnroll
5453[r] \\DC-01\File History Backups
5554[r] \\DC-01\Folder Redirection
56- [r] \\DC-01\NETLOGON
5755[r] \\DC-01\Shared Folders
58- [r] \\DC-01\SYSVOL
5956[r] \\DC-01\Users
6057[w] \\WEB-01\wwwroot
6158[r] \\DESKTOP\ADMIN$
0 commit comments