generate_decrypt_script
Generate a decrypt script from reversed encryption parameters, choosing language and algorithm, with automatic file output.
Instructions
根据分析结果生成完整的解密脚本(Python或JavaScript),自动保存到output目录
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": {
"language": "<language>",
"algorithm": "<algorithm>"
},
"name": "generate_decrypt_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | 脚本语言 | |
| algorithm | Yes | 加密算法 | |
| key | No | 加密密钥 | |
| iv | No | IV偏移量(CBC模式) | |
| mode | No | 加密模式,如CBC/ECB | |
| padding | No | 填充方式,如PKCS7/ZeroPadding | |
| encoding | No | 输出编码,如base64/hex | |
| publicKey | No | RSA公钥(PEM格式) | |
| testPlaintext | No | 测试明文 | |
| testCiphertext | No | 测试密文(用于验证) |