diff --git a/another_bad_file.py b/another_bad_file.py new file mode 100644 index 0000000..ab47a15 --- /dev/null +++ b/another_bad_file.py @@ -0,0 +1,10 @@ +import sqlite3 + +def get_user_data(username): + conn = sqlite3.connect('users.db') + cursor = conn.cursor() + query = f"SELECT * FROM users WHERE username = '{username}'" + cursor.execute(query) + return cursor.fetchall() + +unused_var = 10