generate_encrypt_script
Generate encryption scripts to reconstruct login request encryption logic for web security analysis.
Instructions
生成加密脚本(用于构造请求重放)
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_encrypt_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | 脚本语言 | |
| algorithm | Yes | 加密算法 | |
| key | No | 加密密钥 | |
| iv | No | IV偏移量 | |
| mode | No | 加密模式 | |
| padding | No | 填充方式 | |
| encoding | No | 输出编码 | |
| publicKey | No | RSA公钥 | |
| testPlaintext | No | 测试明文 | |
| testCiphertext | No | 期望密文 |