pbrucla / cyber-instancer

Challenge Instancer Project
https://instancer.acmcyber.com
GNU Affero General Public License v3.0
5 stars 0 forks source link

Patch/captcha #41

Closed RoryHemmings closed 1 year ago

RoryHemmings commented 1 year ago

Implement CAPTCHA for challenge deployment endpoint.

Resolves #18

Implementation Details

The implementation works as follows

  1. User completes re-captcha checkbox
  2. Token representing this completion is sent in deployment request
  3. This token is assessed by the Google API
  4. If invalid, then return 498 (Invalid token) error to client
  5. Display error appropriately

Notes