Skip to content
Simple tool to watch and compare progress on security learning platforms such as http://root-me.org/ or https://ringzer0ctf.com/
Branch: master
Clone or download
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.
LICENSE
README.md
example.yaml
requirements.txt
score.db
security-score-compare.py

README.md

security-score-compare

Tool to compare score on security learning platforms such as http://root-me.org/ or https://ringzer0ctf.com/ between different users.

Description

Security Score Compare is simple tool to watch and progress on security learning platforms such as http://root-me.org/ or https://ringzer0ctf.com/. Dedicated to small groups of friends or colleagues from the same company.

Intended to run from cron, stores data to SQLite database. Easily configurable by editing YAML file.

Requirements

  • Python 2.7
  • modules listed in requirements.txt

Configuration

Configuration is performed by YAML configruation file, which can be specified by --config parameter. Example configuration is provided in example.yaml.

It has two main blocks: platforms and sqlite

The first one contains data about security platforms - how to get the score and which user data to fetch.

The second one contains SQLite file location.

Usage

  • clone this repository

  • pip install -r requirements.txt

  • adjust config file (see example.yaml)

  • run the script with --dryrun (-d) option

  • if everything goes well, add to crontab

  • create database with following schema:

    CREATE TABLE score ( timestamp default current_timestamp, platform text, nick text, score integer );

  • To draw a chart for rootme platform and last 7 days:

    security-score-compare.py -p -t 7 -P rootme -o /var/www/7_days_rootme.png

Contribution

Help is always welcome, so clone this repository, send pull requests or create issues if you find any bugs.

License

See LICENSE file

You can’t perform that action at this time.