DirectoryLister is a powerful web application that allows you to view and share the contents of a folder on your web server. In this tutorial, we will guide you through the steps required to install DirectoryLister on Kali Linux.
Before you begin, ensure you have the following:
Visit the official DirectoryLister website (https://www.directorylister.com/) and download the latest release.
Open the terminal and navigate to the directory where you downloaded the DirectoryLister archive. Use the following command to extract the files:
tar -xvf directorylister-x.x.tar.gz
Replace directorylister-x.x.tar.gz
with the name of the file you downloaded.
After extracting the files, move the DirectoryLister folder to the Apache web server’s root directory. The default root directory is /var/www/html/
. You can use the following command to move the folder:
sudo mv directorylister /var/www/html/
Change the ownership of the directorylister
folder to the Apache web server user www-data
. Use the following command to do this:
sudo chown -R www-data:www-data /var/www/html/directorylister
To access the DirectoryLister application using a domain name, create a virtual host. Use your favorite text editor to open the Apache virtual hosts configuration file:
sudo nano /etc/apache2/sites-available/directorylister.conf
Add the following configuration to the file:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/directorylister
ServerName directorylister.local
<Directory /var/www/html/directorylister>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/directorylister-error.log
CustomLog ${APACHE_LOG_DIR}/directorylister-access.log combined
</VirtualHost>
Save and close the file.
Enable the virtual host you just created:
sudo a2ensite directorylister.conf
Restart the Apache web server to apply the changes you just made:
sudo systemctl restart apache2
Open your web browser and navigate to http://directorylister.local/
. You should see the DirectoryLister application running.
Congratulations! You have successfully installed DirectoryLister on Kali Linux. You can now browse and share the contents of a folder on your web server.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!