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

Tolerably vulnerable #44

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

Conversation

mohan-the-octocat
Copy link

This pull request primarily focuses on two main areas: enhancing the user interface in views/search.ejs and setting up a new Express.js server in vulnerable.js. The most significant changes include the addition of a new heading to display the incoming query parameter in the search results page and the creation of a new server using Express.js, which includes a PostgreSQL connection and a route to fetch user data based on a search parameter.

User Interface Enhancements:

  • views/search.ejs: A new heading has been added to display the incoming query parameter in the search results page. This provides users with a clear indication of the search term they used.

Server Setup and Route Creation:

  • vulnerable.js: A new Express.js server has been set up, which includes the addition of several dependencies such as express and body-parser. A PostgreSQL connection has also been established using the pg library. Furthermore, a route has been created to fetch user data based on a search parameter.

Adding in_query in an additional line
Added a vulnerable file
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.

None yet

1 participant