A corporate directory validates user input with a regex pattern and Python's re.MULTILINE flag. The developers are confident their ^[a-z0-9 ]+$ pattern blocks all SQL injection attempts. They don't realize that MULTILINE changes how ^ and $ anchors behave. Security researchers know that a single control character can split validation logic across lines, bypassing even careful regex checks. Exploit this documented vulnerability and demonstrate why regex patterns cannot secure SQL queries.
Discover different approaches and techniques from hackers who completed this lab.
Create a free account to start your own dedicated server, submit flags, and earn points on the leaderboard.
Start Hacking FreeChoose how you want to get started
Sign in to your account