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

Patched results for branch: master #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

patched-codes[bot]
Copy link

@patched-codes patched-codes bot commented May 25, 2024

This pull request from patched fixes 4 issues.


  • File changed: sqli/dao/user.py
    Changed hashing algorithm from md5 to sha256 The diff shows that the hashing algorithm used for password encryption has been changed from md5 to sha256. This change is reflected in the import statement and in the method that checks if the hashed password matches the stored password hash.
  • File changed: sqli/dao/student.py
    Refactor SQL query parameters from dictionary to list The diff changes the way SQL query parameters are handled. Previously, a dictionary was used to store parameters, which were then inserted into the query string using Python's string formatting. The diff changes this to use a list of parameters, which are then inserted into the query string using SQL's parameter substitution. This change affects both the LIMIT and OFFSET clauses of a SELECT query, and the VALUES clause of an INSERT query.

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.

0 participants