Useful Commands
Last updated
Last updated
The rpcclient
offers us many different requests with which we can execute specific functions on the SMB server to get information. A complete list of all these functions can be found on the of the rpcclient.
Query
Description
srvinfo
Server information.
enumdomains
Enumerate all domains that are deployed in the network.
querydominfo
Provides domain, server, and user information of deployed domains.
netshareenumall
Enumerates all available shares.
netsharegetinfo <share>
Provides information about a specific share.
enumdomusers
Enumerates all domain users.
queryuser <RID>
Provides information about a specific user.