[squeal]: Add squeal SQL injection challenge
This commit is contained in:
10
squeal/squeal.sh
Executable file
10
squeal/squeal.sh
Executable 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
|
||||
|
Reference in New Issue
Block a user