How To Install sbox-dtc on Kali Linux

In this tutorial we learn how to install sbox-dtc on Kali Linux. sbox-dtc is CGI chroot wrapper script for safer hosting environment

Introduction

In this tutorial we learn how to install sbox-dtc on Kali Linux.

What is sbox-dtc

sbox-dtc is:

Sbox is a CGI wrapper script that helps Web site hosting services to safely grant CGI authoring privileges to untrusted clients. In addition to changing the process privileges of client scripts to match their owners, it goes beyond other wrappers by placing configurable ceilings on script resource usage, avoiding unintentional (as well as intentional) denial of service attacks. It also optionally let the Webmaster to place client’s CGI scripts in a chroot’ed shell restricted to the author’s home directories.

Thanks to a cleaver per-vhost configuration, SBOX is also capable of being highly customizable on a per web site level. SBOX also runs Ruby, Perl, Python and PHP script using their respective interpreter, with a configurable path for each of them.

There are three methods to install sbox-dtc on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install sbox-dtc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install sbox-dtc using apt-get by running the following command:

sudo apt-get -y install sbox-dtc

Install sbox-dtc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sbox-dtc using apt by running the following command:

sudo apt -y install sbox-dtc

Install sbox-dtc Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install sbox-dtc using aptitude by running the following command:

sudo aptitude -y install sbox-dtc

How To Uninstall sbox-dtc on Kali Linux

To uninstall only the sbox-dtc package we can use the following command:

sudo apt-get remove sbox-dtc

Uninstall sbox-dtc And Its Dependencies

To uninstall sbox-dtc and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove sbox-dtc

Remove sbox-dtc Configurations and Data

To remove sbox-dtc configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge sbox-dtc

Remove sbox-dtc configuration, data, and all of its dependencies

We can use the following command to remove sbox-dtc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sbox-dtc

Dependencies

sbox-dtc have the following dependencies:

References

Summary

In this tutorial we learn how to install sbox-dtc package on Kali Linux using different package management tools: apt, apt-get and aptitude.