import os # To find database path. # Safe: Using parameterized query safe_query = "SELECT * FROM users WHERE username = ?" # SQL injections will not work. Example: user_input = "John'; DROP TABLE ...
This repository contains a very small Flask + SQLite application prepared for an Information Security seminar project on SQL injection: prevention, common patterns and impact. The goal is narrow on ...