msfvenom_generate
Generate MSFVenom payloads with configurable format, encoder, iterations, output file, and extra arguments while logging results for penetration testing.
Instructions
Execute MSFVenom for payload generation with enhanced logging.
Args: payload: The payload to generate format_type: Output format (exe, elf, raw, etc.) output_file: Output file path encoder: Encoder to use iterations: Number of encoding iterations additional_args: Additional MSFVenom arguments
Returns: Payload generation 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": {
"payload": "<payload>"
},
"name": "msfvenom_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoder | No | ||
| payload | Yes | ||
| iterations | No | ||
| format_type | No | ||
| output_file | No | ||
| additional_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |