hacking

2 Articles

What Is Network Fuzzing?

In this post, we will talk about network fuzzing, a technique for automatically or semi-automatically detecting software errors.

Understanding Lua Scripts in Redis The Ping Pong Example

Redis has de the feature of executing Lua scripts. This post explains how Redis handles potentially dangerous Lua scripts, using a "ping-pong" example. At the first glance, the Lua script seems to be an infinite loop. However, Redis has built-in protections that recognize the recursion pattern in the script. The secure Lua environment in Redis is designed to catch and prevent such infinite loops from running. This stops the script from consuming resources endlessly, ensuring the stability and security of the system. Redis enforces a read-only table restriction in this context, which prevents modifications that could lead to uncontrolled recursion.