smbclient_list_shares
List SMB shares on a target host using smbclient, with support for anonymous or authenticated access and custom port.
Instructions
List SMB shares on a target host using smbclient. target: IP or hostname username: SMB username (leave empty for anonymous) password: SMB password (leave empty for anonymous) port: SMB port (default 445)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "smbclient_list_shares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| target | Yes | ||
| password | No | ||
| username | No |