pwndbg_xor
Decode XOR-encoded payloads by XORing memory at a specified address with a repeating key. Specify address, key in hex, and byte count.
Instructions
XOR memory at the given address with a key.
pwndbg command: xor Source: pwndbg/commands/xor.py Category: Memory
XORs count bytes at address with the repeating key byte(s).
Useful for decoding XOR-encoded payloads in memory.
Args: session_id: The UUID of the session. address: Address of the data to XOR. key: XOR key (hex string). count: Number of bytes to XOR.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/xor/
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": {
"session_id": "<session_id>",
"address": "<address>",
"key": "<key>",
"count": "<count>"
},
"name": "pwndbg_xor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| address | Yes | ||
| key | Yes | ||
| count | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |