Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cryptographic lab by populating CF_user table #222

Merged

Conversation

timothywarner
Copy link
Contributor

@timothywarner timothywarner commented Aug 29, 2024

Fixes #221

Insert necessary user data into the introduction_cf_user table for the cryptographic failure labs.

  • introduction/migrations/0017_cf_user.py

    • Insert user data with fields username and password into the CF_user table.
    • Add SQL command to insert user data: 'alex', 'admin', and 'rupak' with their respective passwords.
  • introduction/migrations/0018_cf_user_password2.py

    • Insert user data with fields username, password, and password2 into the CF_user table.
    • Add SQL command to insert user data: 'alex', 'admin', and 'rupak' with their respective passwords and password2 values.

For more details, open the Copilot Workspace session.

Fixes adeyosemanputra#221

Insert necessary user data into the `introduction_cf_user` table for the cryptographic failure labs.

* **introduction/migrations/0017_cf_user.py**
  - Insert user data with fields `username` and `password` into the `CF_user` table.
  - Add SQL command to insert user data: 'alex', 'admin', and 'rupak' with their respective passwords.

* **introduction/migrations/0018_cf_user_password2.py**
  - Insert user data with fields `username`, `password`, and `password2` into the `CF_user` table.
  - Add SQL command to insert user data: 'alex', 'admin', and 'rupak' with their respective passwords and password2 values.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/adeyosemanputra/pygoat/issues/221?shareId=XXXX-XXXX-XXXX-XXXX).
@adeyosemanputra adeyosemanputra marked this pull request as ready for review August 29, 2024 16:10
@adeyosemanputra adeyosemanputra merged commit 7afef1a into adeyosemanputra:master Aug 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cryptographic lab not working because the linked table is empty
2 participants