Kali à la Carte
Charly's Column – katoolin 3
Charly uses the katoolin 3 installation script for a targeted approach to installing his favorite Kali Linux tools on the Ubuntu desktop.
You probably know Kali Linux [1], which comes with a wealth of tools for forensics and penetration testing. You can install the distribution or boot it as a Live system from a USB stick. Users of mainstream Linux often wish to use Kali's range of functions in their preferred distribution. Katoolin [2] tries to fulfill this wish.
I first looked at katoolin in 2017. The script collection for installing Kali Linux tools was tailor-made for the then current Ubuntu LTS and written in Python 2. However, the way it integrated into Ubuntu was a pretty brutal process, involving autonomous changes to the system configuration and frequently ending up with the distribution getting into a total mess on the next update. But the idea was still good, and now we have katoolin 3, which finally files the rough edges off the process. Ported to Python 3, it integrates smoothly into the system and no longer interferes with Ubuntu's own tools.
To get katoolin running, you need to include the universe
repository (Listing 1, line 1); you also need Git to clone the repository (line 2). Once these dependencies are installed, you are ready to go. I mirrored the code to my Ubuntu (line 3), changed to the newly created katoolin3/
directory in the next step, made the install.sh
file executable, and ran it (lines 4 to 6). It makes sense to have a look at the install.sh
file's code beforehand – Git repos can be compromised and can contain malicious code. If everything looks good, the installation can start; this will ideally complete with a success message (line 8).
Listing 1
Installing katoolin 3
01 $ sudo add-apt-repository universe 02 $ sudo apt install git 03 $ git clone https://github.com/s-h-3-l-l/katoolin3 04 $ cd katoolin3/ 05 $ chmod +x ./install.sh 06 $ sudo ./install.sh 07 [...] 08 Successfully installed. 09 $ sudo katoolin3
Since katoolin 3 is an installation tool, I have to run it with root privileges (line 9). The main menu appears on the screen. Theoretically, I could now just treat myself to the full Kali Linux treasure trove by choosing Install all – but hardly anyone really needs the full arsenal. Instead press 0 to see a list of the available categories (Figure 1). From there, you can branch into, say, Wireless Attacks. Entering the numbers to the left of the individual tools starts the installation. You can also specify ranges or lists, such as 1,3,5-7
.
Katoolin 3 does not update automatically, so you do have to run update.sh
from time to time from the katoolin3/
directory created earlier. This is also where you will find uninstall.sh
in case you want to get rid of everything. Because one thing is clear: Although katoolin 3 does give you a taste of the tools in the Kali collection, sooner or later you will end up wanting to permanently install Kali Linux.
Infos
- Kali Linux: https://www.kali.org
- katoolin 3: https://github.com/s-h-3-l-l/katoolin3
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.