Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Latest commit

 

History

History

ArcaneLink - Guest VM Shell Jail

This is a simple wrapper to be run as setuid root that invokes bash through nsjail to limit the capabilities and resource usage of users that connect to the challenge VMs. This wrapper should be instlled inside the VMs and spawned instead of the normal login shell by the backend server.

Building

Run the ./build-deb.sh script from this directory to build two .deb packages: nsjail-bash-i386.deb and nsjail-bash-arm64.deb, that are then ready to be installed through apt/dpkg inside the VMs.