netexec_scan
Execute NetExec protocol scans to enumerate network services and authenticate with credentials or hashes across SMB, SSH, and WinRM targets during penetration testing.
Instructions
Execute NetExec (formerly CrackMapExec) for network enumeration with enhanced logging.
Args: target: The target IP or network protocol: Protocol to use (smb, ssh, winrm, etc.) username: Username for authentication password: Password for authentication hash_value: Hash for pass-the-hash attacks module: NetExec module to execute additional_args: Additional NetExec arguments
Returns: Network enumeration results
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": "netexec_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | ||
| target | Yes | ||
| password | No | ||
| protocol | No | smb | |
| username | No | ||
| hash_value | No | ||
| additional_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |