iKAN2025 / Nighthawk-Pages

Apache License 2.0
0 stars 0 forks source link

CSP Spot Check #3

Open IshanCornick opened 6 months ago

IshanCornick commented 6 months ago

--database, with database schema change--

Show db.Column changes you have made to model/python file in Visual Studio Code

Screenshot 2024-02-01 at 10 54 35 AM

Show initialisation data code in VSCode

Screenshot 2024-02-01 at 10 53 22 AM

Demo delete database and run ./migrate.sh

Screenshot 2024-02-01 at 10 57 53 AM Screenshot 2024-02-01 at 10 58 19 AM

Demo corresponding schema change in SQLite3

Screenshot 2024-02-01 at 10 55 42 AM

Demo initialization data captured in Column in SQLite3

--postman with /authentication screen--

Show /authenticate endpoint code in Visual Studio Code ✅

Screenshot 2024-01-31 at 11 19 25 AM

Show and Demo /authenticate in Postman ✅

Screenshot 2024-01-31 at 11 18 32 AM

Demo calling to endpoint ✅

Screenshot 2024-01-31 at 11 22 06 AM

Show JSON data passed in call ✅

Screenshot 2024-01-31 at 11 22 29 AM

Show Response window ✅

![Uploading Screenshot 2024-01-31 at 11.20.04 AM.png…]()

Show Cookie acquired window ✅

Screenshot 2024-01-31 at 11 22 56 AM

Cut/Copy/Paste Cookie into jwt.io and show decrypting payload ✅

Screenshot 2024-01-31 at 11 26 56 AM

SCORE: 0.9

--postman with /api screen to access data under authentication--

Show /api CRUD code in Visual Studio Code, expecting READ/GET code

Screenshot 2024-02-01 at 10 07 41 AM

Show and Demo /api READ/GET endpoint in Postman…

Screenshot 2024-02-01 at 10 10 27 AM

Demo calling to endpoint that requires Cookie Show Response/Data

Screenshot 2024-02-01 at 10 11 10 AM

Demo Deleting cookie

Screenshot 2024-02-01 at 10 11 29 AM

Demo calling endpoint again Show Response/Failure

Screenshot 2024-02-01 at 10 12 21 AM