Skip to content

New python vuln#7

Merged
WritingPanda merged 4 commits into
mainfrom
new-python-vuln
Aug 5, 2024
Merged

New python vuln#7
WritingPanda merged 4 commits into
mainfrom
new-python-vuln

Conversation

@WritingPanda

Copy link
Copy Markdown

This pull request includes several changes to the project, focusing on code cleanup, dependency management, and adding new routes for logging and file handling. The most important changes include the removal of the Pipfile, deletion of unused code, and the addition of new routes in the server/routes.py file.

Removing pipfile nonsense and sticking to basics. Also, added new routes for logging and file handling.

Comment thread server/routes.py
cursor.execute(
"SELECT * FROM books WHERE name LIKE '%" + name + "%'"
)
cursor.execute("SELECT * FROM books WHERE name LIKE '%" + name + "%'")

Check failure

Code scanning / CodeQL

SQL query built from user-controlled sources

This SQL query depends on a [user-provided value](1).
Comment thread server/routes.py
cursor.execute(
"SELECT * FROM books WHERE author LIKE '%" + author + "%'"
)
cursor.execute("SELECT * FROM books WHERE author LIKE '%" + author + "%'")

Check failure

Code scanning / CodeQL

SQL query built from user-controlled sources

This SQL query depends on a [user-provided value](1).
Comment thread server/routes.py Fixed
Comment thread server/routes.py Fixed
Comment thread server/routes.py Fixed
Comment thread server/routes.py Fixed
Comment thread server/routes.py Fixed
Comment thread server/routes.py Fixed
Comment thread server/routes.py Fixed
@WritingPanda WritingPanda merged commit 359e726 into main Aug 5, 2024
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.

2 participants