ColdHeat / CTFd-Car-Hacking-Theme

31 stars 9 forks source link

Challenge not displaying while clicking on it in /challenges #2

Open besnardf opened 6 years ago

besnardf commented 6 years ago

As an administrator, create a challenge. Then go to /challenges. The challenge should appear but while clicking on it in order to get further information such as the description or the Submit flag form, nothing happens.

besnardf commented 6 years ago

image

besnardf commented 6 years ago

127.0.0.1 - - [17/May/2018 12:06:57] "GET /chals/1 HTTP/1.1" 200 - 127.0.0.1 - - [17/May/2018 12:06:57] "GET /plugins/challenges/assets/standard-challenge-modal.js?_=1526551614470 HTTP/1.1" 200 -

These GET requests are made but nothing happens.

Response for GET /chals/1 HTTP 1.1 :

{
  "category": "zae", 
  "description": "aze", 
  "files": [], 
  "hidden": false, 
  "hints": [], 
  "id": 1, 
  "max_attempts": 0, 
  "name": "zae", 
  "tags": [], 
  "type": "standard", 
  "type_data": {
    "id": "standard", 
    "name": "standard", 
    "scripts": {
      "create": "/plugins/challenges/assets/standard-challenge-create.js", 
      "modal": "/plugins/challenges/assets/standard-challenge-modal.js", 
      "update": "/plugins/challenges/assets/standard-challenge-update.js"
    }, 
    "templates": {
      "create": "/plugins/challenges/assets/standard-challenge-create.njk", 
      "modal": "/plugins/challenges/assets/standard-challenge-modal.njk", 
      "update": "/plugins/challenges/assets/standard-challenge-update.njk"
    }
  }, 
  "value": 1
}
besnardf commented 6 years ago

If it can help, I have the same problem with the TAMUCTF theme.

benichmt1 commented 6 years ago

I have the same issue. It's a compatibility issue with the latest version of CTFd. Were you able to get it fixed?

sa7mon commented 6 years ago

The issue appears to remain. I attempted to fix it by replacing chalboard.js in this theme with the chalboard.js from the CTFd 'core' theme which it ships with, but to no avail.