Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,5 @@ SOFTWARE.
---

**Disclaimer**: This application is intentionally insecure and should only be used in a controlled environment for educational purposes.

Help Hello Oh God
6 changes: 3 additions & 3 deletions db.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def init_db():

# Insert sample users if they don't exist
users = [
('admin', hash_password('password123')),
('user1', hash_password('pass1')),
('admin', hash_password('password124')),
('user1', hash_password('password1345')),
('user2', hash_password('pass2')),
('john_doe', hash_password('john123')),
('jane_doe', hash_password('jane123')),
Expand All @@ -60,4 +60,4 @@ def init_db():
cursor.execute('DELETE FROM users') # Optional: clear existing data
cursor.executemany('INSERT INTO users (username, password) VALUES (?, ?)', users)
db.commit()


Loading