Skip to content

vflame6/sharefinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharefinder

Active network shares enumeration tool.

Created by Maksim Radaev/@vflame6


sharefinder is a network share discovery tool that enumerates shares, permissions and files in networks and domains.

Features

sharefinder

Main commands:

  • hunt: hunt network shares inside Active Directory domain
  • auth: scan network for shares with specified credentials
  • anon: search for shares accessible by anonymous/guest account

You can check out a demo HTML report generated by the tool.

Usage

sharefinder -h

Here is the help menu for the tool.

usage: sharefinder [<flags>] <command> [<args> ...]

  sharefinder is a network share discovery tool that enumerates shares, permissions and files in networks and domains.

Flags:
  -h, --[no-]help      Show context-sensitive help (also try --help-long and --help-man).
  --[no-]debug     Enable debug mode, print debug messages
  --[no-]quiet     Enable quiet mode, print only results
  -o, --output=""      Filename to write output in raw format
  --output-xml=""  Filename to write XML formatted output
  --output-all=""  Filename to write output in all formats
  --[no-]html      Generate HTML report (requires XML output)
  --threads=1      Number of threads
  --timeout=5s     Seconds to wait for connection
  --smb-port=445   Target port of SMB service
  --proxy=""       SOCKS-proxy address to use for connection in format IP:PORT
  -e, --exclude="IPC$,NETLOGON,ADMIN$,print$,C$"
  Exclude list
  --[no-]list      List readable shares
  --[no-]recurse   List readable shares recursively
  --[no-]version   Show application version.

Commands:
  help [<command>...]
  anon <target>
  auth --username=USERNAME [<flags>] <target>
  hunt --username=USERNAME [<flags>] <dc>

Installation

sharefinder requires go1.24 to install successfully.

go install -v github.com/vflame6/sharefinder@latest

Compiled versions are available on Release Binaries page.

To Build:

go build -o sharefinder main.go

Contributing

Feel free to open an issue if something does not work, or if you have any issues. New ideas to improve the tool are much appreciated.