Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

ainterr/scoring_engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This project is no longer being developed. Instead, it's being rewritten to be scalable and more user friendly. Check out the new version here.

Scoring Engine

This is a django app made to mimic the behaviour of the CCDC scoring engine.

It is under development by members of the Northeastern University CCDC team for use in our practice sessions.

Dependencies

  • Django v1.9
  • django-bootstrap3
  • dnspython3
  • paramiko
  • pysmb 1.1.16
  • pymysql
  • pymssql
  • pyldap
  • freetds-dev
  • libsasl2-dev
  • libldap2-dev
  • python-dev
  • libssl-dev
  • libffi-dev

Installing

  1. Install dependencies:

apt-get install freetds-dev libsasl2-dev libldap2-dev python-dev libssl-dev libffi-dev

pip3 install django django-bootstrap3 dnspython3 paramiko pysmb==1.1.16 pymysql pymssql pyldap

  1. Setup the sqlite databse

python3 manage.py migrate

  1. Customize the configuration in /engine/config.py. Then, register plugins and apply the config to the database with:

python3 manage.py loadconf

  1. Start the server

python3 manage.py runserver

The Scoring Engine should now be accessable at http://localhost:8000.

Included Plugins

  • DNS
  • FTP
  • HTTP
  • IMAP
  • POP3
  • SMTP
  • SMB
  • MYSQL
  • MSSQL
  • Ping
  • SSH
  • More to come...

Writing Plugins

In this scoring engine, Plugins check the status of Services. Plugins are configured as modules in /engine/plugins/. These modules should include a run(options) method that returns True if a service check passed and False otherwise. When configuring a Plugin in the database, it's name should match the name of the associated module.

License

This project is open source under the MIT public license. See license.txt.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages