This is a proof of concept (PoC) script that automatically retrieves server-provided solutions for CodeStepByStep problems where users are asked to input array values at specific indexes
The script:
- Extracts the problem identifier from the current page URL
- Retrieves the internal problem ID using the public API
- Fetches available solutions for that problem
- Displays the answer(s) in an alert dialog
You can test this PoC on the following problem:
https://www.codestepbystep.com/r/problem/view/java/arrays/mystery1
- Log in to your CodeStepByStep account.
- Open the assignment you want to spoof.
- Open your browser’s developer console.
- Paste in the contents of the script you want to use and press Enter.
- Refresh the page to view updated scores.
This PoC is for educational and research purposes only.
Do not use it to gain unfair advantage in coursework or assessments.