.. / net-view
Star

The net view command in Windows is used to display a list of shared resources on a remote machine. When combined with the /all flag, it provides additional details about hidden and administrative shares.

Command Reference:

Target Host: fs01

Flags: /all (show all shares, including hidden ones)
Command: Copy Extra code: Copy References:

https://book.hacktricks.wiki/en/windows-hardening/basic-cmd-for-pentesters.html#shares

https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh875576(v=ws.11)