A coding challenge platform for Hack-it, 2nd round of crackathon event held during abhiyantriki 2019. The participants are given a problem statement and a wrong solution associated to that problem. The task of the participants is to input a specific test case under the input constraints for which the given solution would fail. A flask application was made including basic-authentication and UI for the platform.
./templates/
folder consists of the problem statement HTML files, wrong and correct solutions../app.py
script for the routing of the flask server- A input is given to
/check
endpoint which runs both the wrong and corrent scripts and compares whether the output matches. If the output does not match, then it was a successful hack.
Username: admin#
Password: password#
# -> integer from 0 to 99
Using Docker
docker build . -t hackit
docker run -p 5000:5000 hackit
Using Python
python3 app.py
We're are open to enhancements
& bug-fixes
😄 Also do have a look here
Members of @kjsce-codecell