mirror of
https://github.com/hohn/codeql-dataflow-sql-injection.git
synced 2025-12-16 02:03:05 +01:00
316 B
316 B
SQL injection example
Setup and sample run
./build.sh
./admin create-db
./admin show-db
# Regular user
echo "sample user" | ./add-user
./admin show-db
# Johnny Droptable
echo "Johnny'); DROP TABLE users; -- " | ./add-user
./admin show-db