Skip to content

sandbox for execution of c,c++ and python programs.

License

Notifications You must be signed in to change notification settings

Ahiknsr/lockdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About:

lockdown allows you to run c and c++ code in a sandbox.

playground

Installation

before you run the following commands make sure python2 and pip2 are installed in your system .

git clone https://github.com/Ahiknsr/lockdown
cd lockdown/server/
pip2 install -r requirements.txt
python2 manage.py migrate
sudo python2 manage.py runserver

Usage

Once the server is running , goto http://127.0.0.1:8000/lockdown/signup/ and create a new user account.
goto http://127.0.0.1:8000/lockdown/login/ and login using the user account you created in previous step.
on successful login you will be redirected to http://127.0.0.1:8000/lockdown/playground/ where you can execute the code.

Architecture

lockdown limits the program access to filesystem, network , memory and terminates the program if it runs for more than 5 seconds.

About

sandbox for execution of c,c++ and python programs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published