Avatar

Labs / Flask Error

  • Daily Challenge
  • Released 17 Jul 2025
The lab needs to be started first.
Need help to start?
Daily Challenge

Flask Debug Mode - Challenge Description

Challenge Overview

A Flask calculator application is running in debug mode. Your task is to trigger a division by zero error that exposes the debug interface and extract the hidden flag from the application's memory. This challenge demonstrates the dangers of exposing debug mode in production environments.

Learning Objectives

  • Understand Flask debug mode risks
  • Learn about interactive Python consoles in web apps
  • Practice extracting sensitive data from memory
  • Recognize real-world web security misconfigurations

Challenge Details

Access the calculator and find a way to trigger a division by zero error that exposes the Flask debug interface. Use the interactive console to extract the flag stored in the application's memory.