Redis embeds a Lua interpreter and EVAL runs a script server-side with the given keys and arguments. The capture shows the script text in the RESP command so it can be read directly, which is useful both for understanding application behaviour and for spotting an attacker using EVAL on an exposed instance. It is tagged with eval as well.
Lua scripts executed inside Redis through EVAL, with the script source readable in the command and the result in the reply.
Redis Lua Script Execution via EVAL
Three EVAL commands executing server-side Lua scripts: key-value SET/GET via Lua and pure computation (sum of 1 to 100). Shows EVAL with the script body, key count, and arguments visible in RESP. Lua scripting can also be an attack vector on exposed Redis instances.
1842.8 KB30