Skip to content
scoreserver web application for CTF(Capture The Flag)
Branch: master
Clone or download
Pull request Compare This branch is 10 commits ahead, 7 commits behind yoggy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
views
.gitignore
README.rdoc
admin.rb
announcements.rb
config.ru
login.rb
ranking.rb
scoreserver.rb
signup.rb
tables.rb

README.rdoc

description

Scoreserver Web Application for CTF(Capture The Flag)

prerequire

$ sudo apt-get install ruby ruby-dev rubygems sqlite3 libsqlite3-dev build-essential git
$ sudo gem install activerecord --version "= 2.3.10"
$ sudo gem install sinatra json sqlite3-ruby

launch web application

$ ruby scoreserver.rb

how to access scoreboard

http://[host or ip address]:4567/

configuration

config.rb is created when scoreserver.rb is started. Please change ADMIN_PASS_SHA1 value in config.rb.

ADMIN_PASS_SHA1 is SHA-1 hash value for administrator password

ex. 
 $ echo -p "administrator password" | sha1sum
 208fccd4c9416a58a198b4bc6b0516275e468788

You must restart scoreserver.rb, if you rewrite config.rb.

how to access administrator site

http://[host or ip address]:4567/admin

github

clone (anonymous access)

$ git clone git://github.com/yoggy/ctf-scoreserver.git

pull

$ mkdir ctf-scoreserver
$ cd ctf-scoreserver
$ git init
$ git remote add origin git@github.com:yoggy/ctf-scoreserver.git
$ git pull origin master
You can’t perform that action at this time.