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

[🚀] Fixes for the coding challenges #1654

Closed
26 tasks done
the-pro opened this issue Aug 2, 2021 · 1 comment
Closed
26 tasks done

[🚀] Fixes for the coding challenges #1654

the-pro opened this issue Aug 2, 2021 · 1 comment

Comments

@the-pro
Copy link
Contributor

the-pro commented Aug 2, 2021

As a new feature is introduced into the juice-shop for selecting the correct code fix for a challenge, we need to write dummy fixes and actual fixes for the challenges. Each fix for each challenge will be written in a separate file. All of the files will be stored in data/static/codefixes. The name of the file will look like this:

  • For dummy fixes: <challenge key>_<fix number>.<extension>
  • For actual fixes: <challenge key>_<fix number>_correct.<extension>

For any of the challenge listed below, create a 3 or 4 dummy fixes and one correct fix. Indentation of the code of those files should be such that every line doesn't give diff due to the indentation.
Ideally it should look something like this:

Screenshot (21)

The challenges for which these needs to be added are:

  • API-only XSS
  • Access Log
  • Admin Registration
  • Admin Section
  • Allowlist Bypass
  • Arbitrary File Write
  • Bjoern's Favorite Pet
  • Blockchain Hype
  • Bonus Payload
  • Confidential Document
  • DOM XSS
  • Database Schema
  • Exposed Metrics
  • Forged Review
  • Login Admin
  • Login Bender
  • Login Jim
  • NoSQL DoS
  • NoSQL Manipulation
  • Outdated Allowlist
  • Product Tampering
  • Repetitive Registration
  • Reset Bender's Password
  • Reset Bjoern's Password
  • Reset Jim's Password
  • Reset Morty's Password
  • Reset Uvogin's Password
  • Score Board
  • User Credentials
@the-pro the-pro added the feature label Aug 2, 2021
@bkimminich bkimminich changed the title [🚀] Fixes for the challenges [🚀] Fixes for the coding challenges Aug 3, 2021
bkimminich added a commit that referenced this issue Sep 3, 2021
(stays disabled until backlog #1654 has been processed)
@github-actions
Copy link

This thread has been automatically locked because it has not had recent activity after it was closed. 🔒 Please open a new issue for regressions or related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants