Skip to content

xinghul/PicoCTF2014

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#PicoCTF2014 Backend

1. How to run the backend application

Step 1 : Install Node.js, npm, mongodb.(I assume you know how to do it)

Step 2 : Install node modules:

  cd PicoCTF2014/
  sudo npm install

Step 3 : Run the application

  node app.js

2. In-game queries

(note that xxx.xxx.xxx.xxx refers to host ip.)

Get information :

Update team information :

using POST instead of GET, see client.js for instance.

3. Add/Remove teams/problems/achievements:

Team :

Problem :

Achievement :

(note that it's NOT a auto-incrementing field for problem id/team id/achievement id, The reason is that I think you might not want the ids to be sequential and somehow use it as a unique username. So you might have to specify the id and dublicate ids are not allowed.)

About

Backend for PicoCTF2014

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published