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.

Auto-generating regular expressions from a wordlist with Python

Making regular expressions (REGEX) is sometimes an arduous task. If we need to create a REGEX that matches a set of words, we need to analyse them and include all the necessary conditions to match them. It’s very common in Web Apps, filters, or something else that has to match if a word matches with a set of allowed words.

DevSecOps series No. 1 — Breaking the CI/CD by using evil Git repositories

This is the first post of a serie about DevSecOps. We’ll discuss about (in)security in DevSecOps process. Today we’ll check security in building process when you need external GIT.

Applied social engineering: much easier than it looks

The social engineering talk I gave at Google Campus Madrid, the slides, and the full summary of the 29 Dale Carnegie rules I quote in it.

Is It Safe to Run Firefox in Docker? (1/2)

Setting up a vulnerable Firefox inside Docker with Metasploit to test whether the container really isolates the browser from the host operating system.