[squeal]: Add squeal SQL injection challenge

This commit is contained in:
2024-09-14 15:45:12 +01:00
parent 117e6749c3
commit 4b6ecfb855
3 changed files with 35 additions and 0 deletions

10
squeal/squeal.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# Script that accepts the name of an artist and checks if they are currently in our Billboard Top 10 database
while true; do
printf "Enter an artist's name: "
read input
sqlite3 database.db "SELECT * FROM singles WHERE artist = '$input'"
done