← All Kali Commands
🏰 Active Directory
CrackMapExec
List shares
CrackMapExec command for list shares. Copy the command below and use it in your terminal.
┌──(kali㉿kali)-[~]
└─$
└─$
crackmapexec smb target -u user -p pass --shares
Tool
CrackMapExec
Category
Active Directory
Purpose
List shares
🛡️ Usage Tips
- Always ensure you have proper authorization before using CrackMapExec against any target
- Replace
targetwith the actual IP address or hostname you are testing - Run this command from a Kali Linux terminal or any system with CrackMapExec installed
- Combine with other CrackMapExec commands for more comprehensive results
- Pipe output to a file with
> output.txtfor later analysis